Unverified Commit e3643aad authored by Niels Lohmann's avatar Niels Lohmann Committed by GitHub

Merge pull request #2447 from jbzdarkid/develop

Add asserts to suppress C28020
parents d9e2b191 cde29b3a
......@@ -881,6 +881,7 @@ class serializer
}
};
JSON_ASSERT(byte < utf8d.size());
const std::uint8_t type = utf8d[byte];
codep = (state != UTF8_ACCEPT)
......
......@@ -16392,6 +16392,7 @@ class serializer
}
};
JSON_ASSERT(byte < utf8d.size());
const std::uint8_t type = utf8d[byte];
codep = (state != UTF8_ACCEPT)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment