mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 06:08:50 +00:00
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:
parent
1f92ccc228
commit
03a47d3c6b
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ public:
|
||||||
|
|
||||||
if (tok.type == TOK_INVALID)
|
if (tok.type == TOK_INVALID)
|
||||||
{
|
{
|
||||||
tokens.empty();
|
tokens.clear();
|
||||||
return EXPRESSION_PARSE_SYNTAX_ERROR;
|
return EXPRESSION_PARSE_SYNTAX_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue