Fix a case where a boolean check (vector.empty()) was used when a clear (vector.clear()) was intended in ExpressionParser.cpp.
This commit is contained in:
1 parent
1f92ccc228
commit
03a47d3c6b
1 file changed
+1
-1
@@ -190,7 +190,7 @@ public:
|
||||
|
||||
if (tok.type == TOK_INVALID)
|
||||
{
|
||||
tokens.empty();
|
||||
tokens.clear();
|
||||
return EXPRESSION_PARSE_SYNTAX_ERROR;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user