Skip to content

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