mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-26 22:38:34 +00:00
ExpressionParser: replace bare pointers with unique_ptrs
This commit is contained in:
parent
c33e391d26
commit
3df945f8d0
3 changed files with 41 additions and 39 deletions
|
@ -31,9 +31,7 @@ void ControlReference::UpdateReference(const ciface::Core::DeviceContainer& devi
|
|||
const ciface::Core::DeviceQualifier& default_device)
|
||||
{
|
||||
ControlFinder finder(devices, default_device, IsInput());
|
||||
Expression* expr;
|
||||
std::tie(m_parse_status, expr) = ParseExpression(expression, finder);
|
||||
m_parsed_expression.reset(expr);
|
||||
std::tie(m_parse_status, m_parsed_expression) = ParseExpression(expression, finder);
|
||||
}
|
||||
|
||||
int ControlReference::BoundCount() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue