diff options
| author | Dr. Dystopia <jonis9898@hotmail.com> | 2025-04-28 22:02:56 +0200 |
|---|---|---|
| committer | Dr. Dystopia <jonis9898@hotmail.com> | 2025-06-14 10:19:31 +0200 |
| commit | ca8f9b672b3d8da3e2974802e89f6c6b6e23d99e (patch) | |
| tree | b6dd8deb5f1bf6d110d71a73521a241d37c577b1 /Source/Core/InputCommon | |
| parent | 95f6c76713e6c2a6b50f1a149a7886e72fea6ec7 (diff) | |
Source: Remove redundant lambda parameter lists
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; |
