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

Fix StdAllocator deprecation errors in C++17 mode #1865

Closed
wants to merge 1 commit into from

Conversation

sylveon
Copy link
Contributor

@sylveon sylveon commented Mar 27, 2021

This fixes a bug introduced in #1858 which prevented from using RapidJSON under MSVC when /std:c++17 or /std:c++latest was used, because the added code used members which where deprecated in C++17 and removed in C++20. This triggered an error.

@coveralls
Copy link

coveralls commented Mar 27, 2021

Coverage Status

Coverage remained the same at 99.729% when pulling 6679877 on sylveon:fix_std_allocator into cd5ee4d on Tencent:master.

@sylveon
Copy link
Contributor Author

sylveon commented Mar 29, 2021

Replaced by #1866

@sylveon sylveon closed this Mar 29, 2021
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.

None yet

2 participants