mirror of
https://github.com/nlohmann/json
synced 2025-01-05 23:21:06 +00:00
another try to remove a warning
This commit is contained in:
parent
ac3036dc0f
commit
6d8e00ade8
@ -5967,7 +5967,7 @@ class basic_json
|
||||
{
|
||||
return (v < 10)
|
||||
? ('0' + static_cast<char>(v))
|
||||
: ('a' + static_cast<char>((v - 10) & 0xff));
|
||||
: ('a' + static_cast<char>((v - 10) & 0x1f));
|
||||
};
|
||||
|
||||
// print character c as \uxxxx
|
||||
|
@ -5967,7 +5967,7 @@ class basic_json
|
||||
{
|
||||
return (v < 10)
|
||||
? ('0' + static_cast<char>(v))
|
||||
: ('a' + static_cast<char>((v - 10) & 0xff));
|
||||
: ('a' + static_cast<char>((v - 10) & 0x1f));
|
||||
};
|
||||
|
||||
// print character c as \uxxxx
|
||||
|
Loading…
Reference in New Issue
Block a user