Apply suggestions from code review
Co-authored-by: Niels Lohmann <niels.lohmann@gmail.com>
This commit is contained in:
1 parent
64ff1cf90d
commit
9f45d314d5
2 files changed
+2
-2
No files matched your search
@@ -881,7 +881,7 @@ class serializer
|
||||
}
|
||||
};
|
||||
|
||||
JSON_ASSERT(byte < 400);
|
||||
JSON_ASSERT(byte < utf8d.size());
|
||||
const std::uint8_t type = utf8d[byte];
|
||||
|
||||
codep = (state != UTF8_ACCEPT)
|
||||
|
||||
Reference in new issue
Block a user