1
0
mirror of https://github.com/nlohmann/json synced 2024-12-28 03:11:07 +00:00

Merge pull request #882 from erengy/fix-msvc-c4819

Fix MSVC warning C4819
This commit is contained in:
Niels Lohmann 2017-12-17 19:52:57 +01:00 committed by GitHub
commit e54b6ace94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;