mirror of
https://github.com/nlohmann/json.git
synced 2024-08-23 05:22:28 +02:00
Fix MSVC warning C4819
Replaces a U+00A0 character with regular space, and fixes a typo.
This commit is contained in:
parent
1ca6ec1dc0
commit
ab0e8b2f3a
|
@ -6564,7 +6564,7 @@ class serializer
|
||||||
// check that the additional bytes are present
|
// check that the additional bytes are present
|
||||||
assert(i + bytes < s.size());
|
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
|
// the codepoint from the UTF-8 bytes
|
||||||
int codepoint = 0;
|
int codepoint = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue