mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-15 06:58:37 +02: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:
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user