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;