mirror of
https://github.com/nlohmann/json.git
synced 2025-07-22 15:21:52 +03:00
Add missing "u8"
This causes test-udt to crash due to bad iterator
This commit is contained in:
@ -201,7 +201,7 @@ void from_json(const BasicJsonType& j, country& c)
|
||||
{
|
||||
{u8"中华人民共和国", country::china},
|
||||
{"France", country::france},
|
||||
{"Российская Федерация", country::russia}
|
||||
{u8"Российская Федерация", country::russia}
|
||||
};
|
||||
|
||||
const auto it = m.find(str);
|
||||
|
Reference in New Issue
Block a user