diff --git a/src/util/json/lexer.cpp b/src/util/json/lexer.cpp index 627739b..703da2f 100644 --- a/src/util/json/lexer.cpp +++ b/src/util/json/lexer.cpp @@ -154,16 +154,6 @@ char Lexer::consume() return character; } -bool Lexer::consumeSpecific(char character) -{ - if (peek() != character) { - return false; - } - - increment(); - return true; -} - bool Lexer::getString() { size_t column = m_column; diff --git a/src/util/json/lexer.h b/src/util/json/lexer.h index 23d4dac..07de395 100644 --- a/src/util/json/lexer.h +++ b/src/util/json/lexer.h @@ -54,7 +54,6 @@ private: void increment(); void decrement(); char consume(); - bool consumeSpecific(char character); bool getString(); bool getNumberOrLiteral(Token::Type type);