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:
@ -10,7 +10,7 @@ int main()
|
||||
// parsing input with a syntax error
|
||||
json::parse("[1,2,3,]");
|
||||
}
|
||||
catch (json::parse_error& e)
|
||||
catch (const json::parse_error& e)
|
||||
{
|
||||
// output exception information
|
||||
std::cout << "message: " << e.what() << '\n'
|
||||
|
Reference in New Issue
Block a user