mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-08 00:59:44 +00:00
Source: Remove redundant lambda parameter lists
This commit is contained in:
parent
95f6c76713
commit
ca8f9b672b
54 changed files with 108 additions and 111 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue