Merge pull request #755 from AdamMajer/fix_old_gcc
Fix compilation with older GCC versions
This commit is contained in:
commit
b4dae2b77d
@ -575,7 +575,7 @@ private:
|
||||
}
|
||||
}
|
||||
else if (RAPIDJSON_LIKELY(Consume(is, '/')))
|
||||
while (is.Peek() != '\0' && is.Take() != '\n');
|
||||
while (is.Peek() != '\0' && is.Take() != '\n') {}
|
||||
else
|
||||
RAPIDJSON_PARSE_ERROR(kParseErrorUnspecificSyntaxError, is.Tell());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user