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

Update json_object.hpp #459

Merged
merged 1 commit into from
Sep 27, 2023

Conversation

MonkeybreadSoftware
Copy link
Contributor

Shadowed name fix.

I got annoyed with all these messages about shadowed names here.

jsoncons/json_object.hpp:41:9: warning: declaration of 'name' shadows a member of 'jsoncons::index_key_value<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator > >' [-Wshadow]
index_key_value(key_type&& name, int64_t index, Args&& ... args)
^~~~~~~~~~~~~~~
jsoncons/json_object.hpp:36:18: note: shadowed declaration is here
key_type name;

Shadowed name fix.
@danielaparker danielaparker merged commit 0ee03cd into danielaparker:master Sep 27, 2023
17 checks passed
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