mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2024-12-12 18:10:27 +01: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…
Reference in New Issue
Block a user