diff --git a/include/jsoncons/json_object.hpp b/include/jsoncons/json_object.hpp index 800908740a..37889c2a63 100644 --- a/include/jsoncons/json_object.hpp +++ b/include/jsoncons/json_object.hpp @@ -38,8 +38,8 @@ namespace jsoncons { Json value; template - index_key_value(key_type&& name, int64_t index, Args&& ... args) - : name(std::move(name)), index(index), value(std::forward(args)...) + index_key_value(key_type&& Name, int64_t Index, Args&& ... args) + : name(std::move(Name)), index(Index), value(std::forward(args)...) { }