1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-13 20:21:48 +03:00

fix for previous commit

This commit is contained in:
Niels
2016-06-22 20:09:06 +02:00
parent 3f97a5d5ad
commit 59e67e768f
2 changed files with 4 additions and 4 deletions

View File

@ -9317,11 +9317,11 @@ class basic_json
{
// add operations in reverse order to avoid invalid
// indices
result.insert(result.begin() + end_index,
result.insert(result.begin() + end_index, object(
{
{"op", "remove"},
{"path", path + "/" + std::to_string(i)}
});
}));
++i;
}