mirror of
https://github.com/nlohmann/json.git
synced 2024-12-12 03:49:22 +08:00
fixed #156
This commit is contained in:
parent
ac4d4a0f66
commit
1adb9d62dd
@ -6301,6 +6301,11 @@ class basic_json
|
||||
return "<parse error>";
|
||||
case token_type::end_of_input:
|
||||
return "<end of input>";
|
||||
default:
|
||||
{
|
||||
// catch non-enum values
|
||||
return "unknown token"; // LCOV_EXCL_LINE
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -6301,6 +6301,11 @@ class basic_json
|
||||
return "<parse error>";
|
||||
case token_type::end_of_input:
|
||||
return "<end of input>";
|
||||
default:
|
||||
{
|
||||
// catch non-enum values
|
||||
return "unknown token"; // LCOV_EXCL_LINE
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user