mirror of
https://github.com/Tencent/rapidjson.git
synced 2025-03-06 13:41:35 +01:00
parent
47e21a054c
commit
75d0e4ff65
@ -262,7 +262,8 @@ void SkipWhitespace(InputStream& is) {
|
||||
internal::StreamLocalCopy<InputStream> copy(is);
|
||||
InputStream& s(copy.s);
|
||||
|
||||
while (s.Peek() == ' ' || s.Peek() == '\n' || s.Peek() == '\r' || s.Peek() == '\t')
|
||||
typename InputStream::Ch c;
|
||||
while ((c = s.Peek()) == ' ' || c == '\n' || c == '\r' || c == '\t')
|
||||
s.Take();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user