Merge pull request #2054 from nlohmann/feature/issue1983

Fix bug in diff function
This commit is contained in:
Niels Lohmann authored and GitHub committed 2020-04-20 19:44:35 +02:00
commit a29e3b1318
3 files changed
+10 -2

No files matched your search

+1 -1
View File
@@ -23833,7 +23833,7 @@ class basic_json
result.push_back(
{
{"op", "add"},
{"path", path + "/" + std::to_string(i)},
{"path", path + "/-"},
{"value", target[i]}
});
++i;