another try to remove a warning
This commit is contained in:
parent
ac3036dc0f
commit
6d8e00ade8
2 changed files with 2 additions and 2 deletions
|
@ -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