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:
@ -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" },
|
||||
|
Reference in New Issue
Block a user