This commit is contained in:
Niels Lohmann authored and GitHub committed 2023-09-23 17:19:28 +02:00
1 parent 5fec803493
commit 1ce29fa22f
16 files changed
+88 -42

No files matched your search

+1 -1
View File
@@ -222,7 +222,7 @@ class lexer : public lexer_base<BasicJsonType>
for (auto range = ranges.begin(); range != ranges.end(); ++range)
{
get();
if (JSON_HEDLEY_LIKELY(*range <= current && current <= *(++range)))
if (JSON_HEDLEY_LIKELY(*range <= current && current <= *(++range))) // NOLINT(bugprone-inc-dec-in-conditions)
{
add(current);
}