Commit 8d4cf5ef authored by Niels's avatar Niels

oops

parent fb54e212
...@@ -9612,7 +9612,7 @@ basic_json_parser_63: ...@@ -9612,7 +9612,7 @@ basic_json_parser_63:
// collect mandatory members // collect mandatory members
const std::string op = get_value("op", "op", true); const std::string op = get_value("op", "op", true);
const std::string path = get_value(op, "path", true); const std::string path = get_value(op, "path", true);
json_pointer ptr(get_value(op, "path", true)); json_pointer ptr(path);
if (op == "add") if (op == "add")
{ {
......
...@@ -8922,7 +8922,7 @@ class basic_json ...@@ -8922,7 +8922,7 @@ class basic_json
// collect mandatory members // collect mandatory members
const std::string op = get_value("op", "op", true); const std::string op = get_value("op", "op", true);
const std::string path = get_value(op, "path", true); const std::string path = get_value(op, "path", true);
json_pointer ptr(get_value(op, "path", true)); json_pointer ptr(path);
if (op == "add") if (op == "add")
{ {
......
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