Skip to content

Commit

Permalink
applied #69 to header
Browse files Browse the repository at this point in the history
  • Loading branch information
nlohmann committed May 4, 2015
1 parent 723155a commit 1580eee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/json.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4658,7 +4658,7 @@ class basic_json
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);
Expand Down Expand Up @@ -4709,7 +4709,7 @@ class basic_json
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);
Expand Down

0 comments on commit 1580eee

Please sign in to comment.