mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 21:30:19 -06:00
Source: Remove redundant lambda parameter lists
This commit is contained in:
@ -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(),
|
||||
|
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user