ExpressionParser: Make Lexer ctor explicit and move argument.

This commit is contained in:
Jordan Woyak
2019-10-12 12:28:19 -05:00
parent 72302d9c42
commit 7295458c11
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ public:
std::string expr;
std::string::iterator it;
Lexer(const std::string& expr_);
explicit Lexer(std::string expr_);
ParseStatus Tokenize(std::vector<Token>& tokens);