Commit 59e67e76 by Niels

fix for previous commit

parent 3f97a5d5
...@@ -10007,11 +10007,11 @@ basic_json_parser_63: ...@@ -10007,11 +10007,11 @@ basic_json_parser_63:
{ {
// add operations in reverse order to avoid invalid // add operations in reverse order to avoid invalid
// indices // indices
result.insert(result.begin() + end_index, result.insert(result.begin() + end_index, object(
{ {
{"op", "remove"}, {"op", "remove"},
{"path", path + "/" + std::to_string(i)} {"path", path + "/" + std::to_string(i)}
}); }));
++i; ++i;
} }
......
...@@ -9317,11 +9317,11 @@ class basic_json ...@@ -9317,11 +9317,11 @@ class basic_json
{ {
// add operations in reverse order to avoid invalid // add operations in reverse order to avoid invalid
// indices // indices
result.insert(result.begin() + end_index, result.insert(result.begin() + end_index, object(
{ {
{"op", "remove"}, {"op", "remove"},
{"path", path + "/" + std::to_string(i)} {"path", path + "/" + std::to_string(i)}
}); }));
++i; ++i;
} }
......
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