Skip to content

Commit

Permalink
Linter.
Browse files Browse the repository at this point in the history
  • Loading branch information
trivialfis committed Jul 20, 2019
1 parent bcf43df commit c5bc334
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/json.cc
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ void ParseStr(std::string const& str) {
}

Json JsonReader::ParseString() {
char ch { GetChar('\"') };
char ch { GetChar('\"') }; // NOLINT
std::ostringstream output;
std::string str;
while (true) {
Expand Down Expand Up @@ -433,7 +433,7 @@ Json JsonReader::ParseString() {
Json JsonReader::ParseArray() {
std::vector<Json> data;

char ch { GetChar('[') };
char ch { GetChar('[') }; // NOLINT
while (true) {
if (PeekNextChar() == ']') {
GetChar(']');
Expand Down

0 comments on commit c5bc334

Please sign in to comment.