♻️ replace alternative operator

This commit is contained in:
Niels Lohmann 2020-07-12 17:44:39 +02:00
parent de4933e093
commit bffa18b46e
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69
2 changed files with 2 additions and 2 deletions

View File

@ -934,7 +934,7 @@ class lexer : public lexer_base<BasicJsonType>
number_unsigned_t val = 0;
const char* p = str;
while (*p >= '0' and * p <= '9')
while (*p >= '0' && * p <= '9')
{
val = (10U * val) + static_cast<number_unsigned_t>((*p - '0'));
p++;

View File

@ -9039,7 +9039,7 @@ class lexer : public lexer_base<BasicJsonType>
number_unsigned_t val = 0;
const char* p = str;
while (*p >= '0' and * p <= '9')
while (*p >= '0' && * p <= '9')
{
val = (10U * val) + static_cast<number_unsigned_t>((*p - '0'));
p++;