backport JSON for G++4.6

This commit is contained in:
Jason Turner
2015-09-21 12:27:33 -06:00
parent e62a38b39f
commit 681f18ee62
3 changed files with 5 additions and 5 deletions

View File

@@ -32,7 +32,7 @@ namespace chaiscript
for (const auto &p : t_json.ObjectRange())
{
m.emplace(p.first, from_json(p.second));
m.insert(std::make_pair(p.first, from_json(p.second)));
}
return Boxed_Value(m);