Skip to content

Commit c0b41f2

Browse files
committed
2 parents 1fe7f98 + 7168021 commit c0b41f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/jsoncons/reflect/reflect_traits_gen.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ void set_member(T&&, const U&)
6262
template <typename T, typename U>
6363
void set_member(T&& val, U& result)
6464
{
65-
result = std::move(val);
65+
result = std::forward<T>(val);
6666
}
6767

6868
template <typename Json>

0 commit comments

Comments
 (0)