From af4aca9edd3484e0e6e9cafb1abce24c794df909 Mon Sep 17 00:00:00 2001 From: Niels Date: Fri, 2 Jan 2015 12:47:32 +0100 Subject: [PATCH] + better string handling --- src/JSON.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/JSON.cc b/src/JSON.cc index ab2b5d65..185d985e 100644 --- a/src/JSON.cc +++ b/src/JSON.cc @@ -1840,7 +1840,7 @@ void JSON::Parser::parse(JSON& result) expect(':'); // value - parse(result[key]); + parse(result[std::move(key)]); } while (_current == ',' && next()); }