Commit b4dae2b7 authored by Milo Yip's avatar Milo Yip Committed by GitHub

Merge pull request #755 from AdamMajer/fix_old_gcc

Fix compilation with older GCC versions
parents ffc79428 cb017cbf
......@@ -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());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment