Skip to content

Commit

Permalink
Merge pull request #755 from AdamMajer/fix_old_gcc
Browse files Browse the repository at this point in the history
Fix compilation with older GCC versions
  • Loading branch information
miloyip committed Oct 1, 2016
2 parents ffc7942 + cb017cb commit b4dae2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/rapidjson/reader.h
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ class GenericReader {
}
}
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());

Expand Down

0 comments on commit b4dae2b

Please sign in to comment.