From 8de64ab268c6aa05a98b78f1ed66c07ef0057e0f Mon Sep 17 00:00:00 2001 From: MonkeybreadSoftware Date: Wed, 27 Sep 2023 08:43:52 +0200 Subject: [PATCH] Update json_object.hpp Shadowed name fix. --- include/jsoncons/json_object.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)...) { }