Commit af4aca9e by Niels

+ better string handling

parent 85abe926
...@@ -1840,7 +1840,7 @@ void JSON::Parser::parse(JSON& result) ...@@ -1840,7 +1840,7 @@ void JSON::Parser::parse(JSON& result)
expect(':'); expect(':');
// value // value
parse(result[key]); parse(result[std::move(key)]);
} }
while (_current == ',' && next()); while (_current == ',' && next());
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment