-
Notifications
You must be signed in to change notification settings - Fork 322
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
Include RapidJSON headers only if BOND_SIMPLE_JSON_PROTOCOL defined #44
Comments
Yes, this makes sense. |
The |
I've checked the code. The |
Revisiting this old issue. Many of the ODR-related concerns and the issue raised above about bonded<> are now addressed as of #425. However, SimpleJSON still appears in the list of BuiltInProtocols. I think that this would be a fairly impactful breaking change for some of the heavier users of Bond internally. |
Agreed about the breakage. RapidJSON could be made opt-out pretty easily now, though. |
Correct me if I'm wrong but RapidJSON headers needed only for simple JSON protocol. But this headers are included in any case. This forces a user to has a dependency on RapidJSON even if he/she is not going to use JSON at all.
I propose to include
simple_json_xxx
headers (along with RapidJSON headers) only ifBOND_SIMPLE_JSON_PROTOCOL
is defined.The text was updated successfully, but these errors were encountered: