mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-27 14:58:32 +00:00
ParseExpression: return a std::pair
This commit is contained in:
parent
030dc11c6e
commit
d2821e14fa
3 changed files with 22 additions and 26 deletions
|
@ -30,9 +30,9 @@ bool ControlReference::InputGateOn()
|
|||
void ControlReference::UpdateReference(const ciface::Core::DeviceContainer& devices,
|
||||
const ciface::Core::DeviceQualifier& default_device)
|
||||
{
|
||||
Expression* expr;
|
||||
ControlFinder finder(devices, default_device, IsInput());
|
||||
m_parse_status = ParseExpression(expression, finder, &expr);
|
||||
Expression* expr;
|
||||
std::tie(m_parse_status, expr) = ParseExpression(expression, finder);
|
||||
m_parsed_expression.reset(expr);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue