🚨 fix compiler warnings #2052

This commit is contained in:
Niels Lohmann
2020-04-19 13:25:02 +02:00
parent be137609df
commit e8356928bd
4 changed files with 11 additions and 13 deletions
@@ -862,7 +862,7 @@ class serializer
: (0xFFu >> type) & (byte);
std::size_t index = 256u + static_cast<size_t>(state) * 16u + static_cast<size_t>(type);
assert(0 <= index and index < 400);
assert(index < 400);
state = utf8d[index];
return state;
}