diff options
Diffstat (limited to 'Source/Core/InputCommon')
| -rw-r--r-- | Source/Core/InputCommon/ControlReference/ExpressionParser.cpp | 2 | ||||
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/MappingCommon.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/InputCommon/ControlReference/ExpressionParser.cpp b/Source/Core/InputCommon/ControlReference/ExpressionParser.cpp index df146f425c..8de2b6ef56 100644 --- a/Source/Core/InputCommon/ControlReference/ExpressionParser.cpp +++ b/Source/Core/InputCommon/ControlReference/ExpressionParser.cpp @@ -360,7 +360,7 @@ HotkeySuppressions::MakeSuppressor(const Modifiers* modifiers, } } - return Suppressor(std::make_unique<std::function<void()>>([this, modifiers, final_input]() { + return Suppressor(std::make_unique<std::function<void()>>([this, modifiers, final_input] { for (auto& modifier : *modifiers) RemoveSuppression(modifier->GetInput(), (*final_input)->GetInput()); }).release(), diff --git a/Source/Core/InputCommon/ControllerInterface/MappingCommon.cpp b/Source/Core/InputCommon/ControllerInterface/MappingCommon.cpp index 10ebe9a984..9660d9ede8 100644 --- a/Source/Core/InputCommon/ControllerInterface/MappingCommon.cpp +++ b/Source/Core/InputCommon/ControllerInterface/MappingCommon.cpp @@ -80,7 +80,7 @@ std::string BuildExpression(const Core::InputDetector::Results& detections, new_alternation = true; }; - const auto handle_release = [&]() { + const auto handle_release = [&] { if (!new_alternation) return; |
