Commit 64ff1cf9 authored by jbzdarkid's avatar jbzdarkid

Add asserts to suppress C28020

parent fd7a9f60
......@@ -881,6 +881,7 @@ class serializer
}
};
JSON_ASSERT(byte < 400);
const std::uint8_t type = utf8d[byte];
codep = (state != UTF8_ACCEPT)
......
......@@ -16392,6 +16392,7 @@ class serializer
}
};
JSON_ASSERT(byte < 400);
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