Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid warnings when using -std=c++20 and clang 10: use three way comp… #2

Merged
merged 1 commit into from
Mar 22, 2020

Conversation

sthagen
Copy link
Owner

@sthagen sthagen commented Mar 22, 2020

…arision for iterators when possible. (Tencent#1667)

/data/mwrep/res/osp/RapidJson/20-0-0-0/include/rapidjson/document.h:729:58: error: use of overloaded operator '!=' is ambiguous (with operand types 'rapidjson::GenericValue<rapidjson::UTF8, rapidjson::MemoryPoolAllocatorrapidjson::CrtAllocator >::MemberIterator' (aka 'rapidjson::GenericMemberIterator<false, rapidjson::UTF8, rapidjson::MemoryPoolAllocatorrapidjson::CrtAllocator >') and 'rapidjson::GenericValue<rapidjson::UTF8, rapidjson::MemoryPoolAllocatorrapidjson::CrtAllocator >::MemberIterator')
for (MemberIterator m = MemberBegin(); m != MemberEnd(); ++m)

…arision for iterators when possible. (#1667)

/data/mwrep/res/osp/RapidJson/20-0-0-0/include/rapidjson/document.h:729:58: error: use of overloaded operator '!=' is ambiguous (with operand types 'rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >::MemberIterator' (aka 'rapidjson::GenericMemberIterator<false, rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >') and 'rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >::MemberIterator')
                for (MemberIterator m = MemberBegin(); m != MemberEnd(); ++m)
@sthagen sthagen merged commit cd2c0c8 into sthagen:master Mar 22, 2020
sthagen pushed a commit that referenced this pull request Jul 16, 2021
…alidation-messages

Multiple validation failures and validation messages
sthagen pushed a commit that referenced this pull request Apr 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants