mirror of
https://github.com/nlohmann/json.git
synced 2025-07-09 11:01:47 +03:00
applied #69 to header
This commit is contained in:
@ -4658,7 +4658,7 @@ basic_json_parser_59:
|
||||
auto value = parse_internal(keep);
|
||||
if (keep and keep_tag and not value.is_discarded())
|
||||
{
|
||||
result[key] = value;
|
||||
result[key] = std::move(value);
|
||||
}
|
||||
}
|
||||
while (last_token == lexer::token_type::value_separator);
|
||||
@ -4709,7 +4709,7 @@ basic_json_parser_59:
|
||||
auto value = parse_internal(keep);
|
||||
if (keep and not value.is_discarded())
|
||||
{
|
||||
result.push_back(value);
|
||||
result.push_back(std::move(value));
|
||||
}
|
||||
}
|
||||
while (last_token == lexer::token_type::value_separator);
|
||||
|
Reference in New Issue
Block a user