Apply suggestions from code review

Co-authored-by: Niels Lohmann <niels.lohmann@gmail.com>
This commit is contained in:
Joseph BlackmanandNiels Lohmann authored and GitHub committed 2020-11-24 11:02:58 -08:00
1 parent 64ff1cf90d
commit 9f45d314d5
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -16392,7 +16392,7 @@ class serializer
}
};
JSON_ASSERT(byte < 400);
JSON_ASSERT(byte < utf8d.size());
const std::uint8_t type = utf8d[byte];
codep = (state != UTF8_ACCEPT)