From ca8f9b672b3d8da3e2974802e89f6c6b6e23d99e Mon Sep 17 00:00:00 2001 From: "Dr. Dystopia" Date: Mon, 28 Apr 2025 22:02:56 +0200 Subject: Source: Remove redundant lambda parameter lists --- Source/Core/InputCommon/ControlReference/ExpressionParser.cpp | 2 +- Source/Core/InputCommon/ControllerInterface/MappingCommon.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/InputCommon') 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>([this, modifiers, final_input]() { + return Suppressor(std::make_unique>([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; -- cgit v1.2.3