Closed MonkeybreadSoftware closed 11 months ago
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.
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;