fix for previous commit
This commit is contained in:
parent
3f97a5d5ad
commit
59e67e768f
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||||
{
|
{
|
||||||
// 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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue