1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-25 13:41:56 +03:00

🚧 trying nodiscard attribute #1433

This commit is contained in:
Niels Lohmann
2019-01-19 17:32:23 +01:00
parent b9a39b38bf
commit d359fd3a8d
7 changed files with 49 additions and 3 deletions

View File

@ -305,7 +305,7 @@ TEST_CASE("README", "[hide]")
// }
// calculate a JSON patch from two JSON values
json::diff(j_result, j_original);
auto res = json::diff(j_result, j_original);
// [
// { "op":" replace", "path": "/baz", "value": ["one", "two", "three"] },
// { "op":"remove","path":"/hello" },