We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cff5374 commit 485b4fbCopy full SHA for 485b4fb
1 file changed
include/jsoncons/utility/unicode_traits.hpp
@@ -1150,10 +1150,10 @@ namespace unicode_traits {
1150
conv_errc result{};
1151
while (it != end)
1152
{
1153
- if ((end - it) >= 8)
+ /*if ((end - it) >= 8)
1154
1155
- while (true) JSONCONS_REPEAT8({if (JSONCONS_LIKELY((trailing_bytes_for_utf8[*it] == 0) && (*it >= 0x80 && *it < 0xC2))) ++it; else break;})
1156
- }
+ while (true) JSONCONS_REPEAT8({if (JSONCONS_LIKELY((trailing_bytes_for_utf8[*it] == 0) && !(*it >= 0x80 && *it < 0xC2))) ++it; else break;})
+ }*/
1157
const std::size_t len = static_cast<std::size_t>(trailing_bytes_for_utf8[*it]) + 1;
1158
if (len > (std::size_t)(end - it))
1159
0 commit comments