mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2024-12-26 18:51:04 +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)
|
||||
token.type_ = tokenError;
|
||||
token.end_ = current_;
|
||||
return true;
|
||||
return ok;
|
||||
}
|
||||
|
||||
void Reader::skipSpaces() {
|
||||
@ -1274,7 +1274,7 @@ bool OurReader::readToken(Token& token) {
|
||||
if (!ok)
|
||||
token.type_ = tokenError;
|
||||
token.end_ = current_;
|
||||
return true;
|
||||
return ok;
|
||||
}
|
||||
|
||||
void OurReader::skipSpaces() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user