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 parent update for diagnostics with ordered_json #2963

Merged
merged 2 commits into from
Aug 22, 2021
Merged

Conversation

nlohmann
Copy link
Owner

This PR unconditionally updates the diagnostic parent pointers for unordered_json, because there may be invalidated pointers in the underlying std::vector in ordered_map.

Fixes #2962

@coveralls
Copy link

coveralls commented Aug 20, 2021

Coverage Status

Coverage remained the same at 100.0% when pulling 200015c on issue2962 into cb053bc on develop.

@nlohmann nlohmann merged commit c753165 into develop Aug 22, 2021
@nlohmann nlohmann deleted the issue2962 branch August 22, 2021 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

JSON_DIAGNOSTICS assertion for ordered_json
2 participants