mirror of
https://github.com/nlohmann/json.git
synced 2026-10-15 02:37:13 +00:00
Fix MSVC warning C4819
Replaces a U+00A0 character with regular space, and fixes a typo.
This commit is contained in:
1 parent
1ca6ec1dc0
commit
ab0e8b2f3a
1 file changed
+1
-1
+1
-1
@@ -6564,7 +6564,7 @@ class serializer
|
||||
// check that the additional bytes are present
|
||||
assert(i + bytes < s.size());
|
||||
|
||||
// to use \uxxxx escaping, we first need to caluclate
|
||||
// to use \uxxxx escaping, we first need to calculate
|
||||
// the codepoint from the UTF-8 bytes
|
||||
int codepoint = 0;
|
||||
|
||||
|
||||
Reference in new issue
Block a user