mirror of
https://github.com/nlohmann/json.git
synced 2026-03-21 16:32:47 +00:00
Add asserts to suppress C28020
This commit is contained in:
@@ -881,6 +881,7 @@ class serializer
|
||||
}
|
||||
};
|
||||
|
||||
JSON_ASSERT(byte < 400);
|
||||
const std::uint8_t type = utf8d[byte];
|
||||
|
||||
codep = (state != UTF8_ACCEPT)
|
||||
|
||||
Reference in New Issue
Block a user