1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-31 10:24:23 +03:00

Deployed 6e36c721f with MkDocs version: 1.4.2

This commit is contained in:
Niels Lohmann
2023-09-23 17:28:29 +02:00
parent 55f10f44a9
commit 6a2266aff4
273 changed files with 663 additions and 697 deletions

View File

@ -26,7 +26,7 @@ int main()
// try to use an array index with leading '0'
j.contains("/array/01"_json_pointer);
}
catch (json::parse_error& e)
catch (const json::parse_error& e)
{
std::cout << e.what() << '\n';
}
@ -36,7 +36,7 @@ int main()
// try to use an array index that is not a number
j.contains("/array/one"_json_pointer);
}
catch (json::parse_error& e)
catch (const json::parse_error& e)
{
std::cout << e.what() << '\n';
}