mirror of
https://github.com/nlohmann/json.git
synced 2026-03-12 04:01:24 +00:00
Deployed 6e36c721f with MkDocs version: 1.4.2
This commit is contained in:
@@ -11,7 +11,7 @@ int main()
|
||||
json j = {{"foo", "bar"}};
|
||||
json k = j.at("non-existing");
|
||||
}
|
||||
catch (json::exception& e)
|
||||
catch (const json::exception& e)
|
||||
{
|
||||
// output exception information
|
||||
std::cout << "message: " << e.what() << '\n'
|
||||
|
||||
Reference in New Issue
Block a user