mirror of
https://github.com/nlohmann/json.git
synced 2026-10-08 15:37:13 +00:00
minor change
This commit is contained in:
1 parent
d31d1ca664
commit
b1be1b45ee
3 files changed
+9
-2
No files matched your search
+1
-1
@@ -1491,7 +1491,7 @@ class basic_json
|
||||
|
||||
default:
|
||||
{
|
||||
if (c <= 0x1f)
|
||||
if (c >= 0 and c <= 0x1f)
|
||||
{
|
||||
// control characters (everything between 0x00 and 0x1f)
|
||||
// -> create four-digit hex representation
|
||||
|
||||
+1
-1
@@ -1491,7 +1491,7 @@ class basic_json
|
||||
|
||||
default:
|
||||
{
|
||||
if (c <= 0x1f)
|
||||
if (c >= 0 and c <= 0x1f)
|
||||
{
|
||||
// control characters (everything between 0x00 and 0x1f)
|
||||
// -> create four-digit hex representation
|
||||
|
||||
Reference in new issue
Block a user