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

Replaced hardcoded rapidsjon namespacing with CEREAL_RAPIDJSON_NAMESPACE #351

Closed
wants to merge 1 commit into from

Conversation

Enhex
Copy link
Contributor

@Enhex Enhex commented Oct 8, 2016

I've ran into a problem in which I had another library that uses RapidJSON too, but an older version of it and that caused runtime errors.

I noticed Cereal uses CEREAL_RAPIDJSON_NAMESPACE macro to define RapidJSON's namepsace, but some places had the namespace "rapidjson" hardcoded, so I replaced them with the macro.

This way it's enough to only change the macro to put Cereal's RapidJSON in a different namespace.

@AzothAmmo AzothAmmo added the bug label Oct 10, 2016
@AzothAmmo AzothAmmo added this to the v1.2.2 milestone Oct 10, 2016
@AzothAmmo
Copy link
Contributor

Merged into develop, thanks for noticing this.

@AzothAmmo AzothAmmo closed this Oct 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants