Skip to content

Commit

Permalink
- json: remove redundant check
Browse files Browse the repository at this point in the history
  • Loading branch information
oknenavin committed Jul 15, 2024
1 parent 417f13f commit 99d5675
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cxon/lang/common/cio/string.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ namespace cxon { namespace cio { namespace str {
}
}
else CXON_IF_CONSTEXPR (X::validate_string_escapes) {
if ((unsigned char)*i <= 0x7F && chr::is<X>::ctrl(*i))
if (chr::is<X>::ctrl(*i))
return cx/X::read_error::unexpected;
}
}
Expand Down

0 comments on commit 99d5675

Please sign in to comment.