mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2024-12-27 11:21:02 +08:00
change the returned value (#1003)
This commit is contained in:
parent
472adb60ee
commit
fd940255ce
@ -311,7 +311,7 @@ bool Reader::readToken(Token& token) {
|
|||||||
if (!ok)
|
if (!ok)
|
||||||
token.type_ = tokenError;
|
token.type_ = tokenError;
|
||||||
token.end_ = current_;
|
token.end_ = current_;
|
||||||
return true;
|
return ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Reader::skipSpaces() {
|
void Reader::skipSpaces() {
|
||||||
@ -1274,7 +1274,7 @@ bool OurReader::readToken(Token& token) {
|
|||||||
if (!ok)
|
if (!ok)
|
||||||
token.type_ = tokenError;
|
token.type_ = tokenError;
|
||||||
token.end_ = current_;
|
token.end_ = current_;
|
||||||
return true;
|
return ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
void OurReader::skipSpaces() {
|
void OurReader::skipSpaces() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user