mirror of
https://github.com/nlohmann/json
synced 2025-01-01 05:10:09 +00:00
Add missing "u8"
This causes test-udt to crash due to bad iterator
This commit is contained in:
parent
5ec44fe9e3
commit
19f8f1c075
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user