mirror of
https://github.com/nlohmann/json.git
synced 2024-08-22 21:12:27 +02: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)
|
return (v < 10)
|
||||||
? ('0' + static_cast<char>(v))
|
? ('0' + static_cast<char>(v))
|
||||||
: ('a' + static_cast<char>((v - 10) & 0xff));
|
: ('a' + static_cast<char>((v - 10) & 0x1f));
|
||||||
};
|
};
|
||||||
|
|
||||||
// print character c as \uxxxx
|
// print character c as \uxxxx
|
||||||
|
|
|
@ -5967,7 +5967,7 @@ class basic_json
|
||||||
{
|
{
|
||||||
return (v < 10)
|
return (v < 10)
|
||||||
? ('0' + static_cast<char>(v))
|
? ('0' + static_cast<char>(v))
|
||||||
: ('a' + static_cast<char>((v - 10) & 0xff));
|
: ('a' + static_cast<char>((v - 10) & 0x1f));
|
||||||
};
|
};
|
||||||
|
|
||||||
// print character c as \uxxxx
|
// print character c as \uxxxx
|
||||||
|
|
Loading…
Reference in a new issue