Skip to content

Commit

Permalink
change the returned value (open-source-parsers#1003)
Browse files Browse the repository at this point in the history
  • Loading branch information
dota17 authored and baylesj committed Aug 26, 2019
1 parent 472adb6 commit fd94025
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib_json/json_reader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ bool Reader::readToken(Token& token) {
if (!ok)
token.type_ = tokenError;
token.end_ = current_;
return true;
return ok;
}

void Reader::skipSpaces() {
Expand Down Expand Up @@ -1274,7 +1274,7 @@ bool OurReader::readToken(Token& token) {
if (!ok)
token.type_ = tokenError;
token.end_ = current_;
return true;
return ok;
}

void OurReader::skipSpaces() {
Expand Down

0 comments on commit fd94025

Please sign in to comment.