mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
ExpressionParser: std::move() tokens vector to parser
This commit is contained in:
@ -519,7 +519,7 @@ static ParseResult ParseComplexExpression(const std::string& str)
|
|||||||
if (tokenize_status != ParseStatus::Successful)
|
if (tokenize_status != ParseStatus::Successful)
|
||||||
return {tokenize_status};
|
return {tokenize_status};
|
||||||
|
|
||||||
return Parser(tokens).Parse();
|
return Parser(std::move(tokens)).Parse();
|
||||||
}
|
}
|
||||||
|
|
||||||
static std::unique_ptr<Expression> ParseBarewordExpression(const std::string& str)
|
static std::unique_ptr<Expression> ParseBarewordExpression(const std::string& str)
|
||||||
|
Reference in New Issue
Block a user