mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-27 11:19:05 +00:00
InputCommon/ExpressionParser: Make ValidateArguments access existing
members instead of passing arguments.
This commit is contained in:
parent
e4b464e727
commit
67b8100cd2
3 changed files with 55 additions and 84 deletions
|
@ -769,7 +769,8 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
const auto argument_validation = func->SetArguments(std::move(args));
|
||||
func->SetArguments(std::move(args));
|
||||
const auto argument_validation = func->ValidateArguments();
|
||||
|
||||
if (std::holds_alternative<FunctionExpression::ExpectedArguments>(argument_validation))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue