diff --git a/include/jsoncons/json_object.hpp b/include/jsoncons/json_object.hpp index 37889c2a63..b3c3436706 100644 --- a/include/jsoncons/json_object.hpp +++ b/include/jsoncons/json_object.hpp @@ -180,9 +180,9 @@ namespace jsoncons { } template - void value(T&& value) + void value(T&& newValue) { - value_ = std::forward(value); + value_ = std::forward(newValue); } void swap(key_value& member) noexcept