File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
include/nlohmann/detail/output Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -927,7 +927,7 @@ class serializer
927
927
: (0xFFu >> type) & (byte);
928
928
929
929
const std::size_t index = 256u + static_cast <size_t >(state) * 16u + static_cast <size_t >(type);
930
- JSON_ASSERT (index < 400 );
930
+ JSON_ASSERT (index < utf8d. size () );
931
931
state = utf8d[index];
932
932
return state;
933
933
}
Original file line number Diff line number Diff line change @@ -18849,7 +18849,7 @@ class serializer
18849
18849
: (0xFFu >> type) & (byte);
18850
18850
18851
18851
const std::size_t index = 256u + static_cast<size_t>(state) * 16u + static_cast<size_t>(type);
18852
- JSON_ASSERT(index < 400 );
18852
+ JSON_ASSERT(index < utf8d.size() );
18853
18853
state = utf8d[index];
18854
18854
return state;
18855
18855
}
You can’t perform that action at this time.
0 commit comments