summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2025-06-14 03:49:47 -0500
committerGitHub <noreply@github.com>2025-06-14 03:49:47 -0500
commit2047eaf1d86839b53bb92cf79cfae8be2a568ed6 (patch)
treeb6dd8deb5f1bf6d110d71a73521a241d37c577b1 /Source/Core/InputCommon
parent95f6c76713e6c2a6b50f1a149a7886e72fea6ec7 (diff)
parentca8f9b672b3d8da3e2974802e89f6c6b6e23d99e (diff)
Merge pull request #13671 from tygyh/Source/Remove-redundant-lambda-parameter-lists
Source: Remove redundant lambda parameter lists
Diffstat (limited to 'Source/Core/InputCommon')
-rw-r--r--Source/Core/InputCommon/ControlReference/ExpressionParser.cpp2
-rw-r--r--Source/Core/InputCommon/ControllerInterface/MappingCommon.cpp2
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;