Merge pull request #2053 from nlohmann/gcc10warnings
Fix GCC compiler warnings
This commit is contained in:
4 files changed
+11
-13
No files matched your search
@@ -861,7 +861,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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user