mirror of
https://github.com/nlohmann/json.git
synced 2026-03-03 07:46:27 +00:00
Deployed 6e36c721f with MkDocs version: 1.4.2
This commit is contained in:
@@ -21,7 +21,7 @@ int main()
|
||||
// can only create an object from a list of pairs
|
||||
json j_invalid_object = json::object({{ "one", 1, 2 }});
|
||||
}
|
||||
catch (json::type_error& e)
|
||||
catch (const json::type_error& e)
|
||||
{
|
||||
std::cout << e.what() << '\n';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user