mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 09:51:58 +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
|
@ -279,7 +279,7 @@ void WiiPane::CreateSDCard()
|
|||
progress_dialog.GetRaw()->setWindowTitle(tr("Progress"));
|
||||
auto success = std::async(std::launch::async, [&] {
|
||||
const bool good = Common::SyncSDFolderToSDImage(
|
||||
[&progress_dialog]() { return progress_dialog.WasCanceled(); }, false);
|
||||
[&progress_dialog] { return progress_dialog.WasCanceled(); }, false);
|
||||
progress_dialog.Reset();
|
||||
return good;
|
||||
});
|
||||
|
@ -303,7 +303,7 @@ void WiiPane::CreateSDCard()
|
|||
progress_dialog.GetRaw()->setWindowTitle(tr("Progress"));
|
||||
auto success = std::async(std::launch::async, [&] {
|
||||
const bool good = Common::SyncSDImageToSDFolder(
|
||||
[&progress_dialog]() { return progress_dialog.WasCanceled(); });
|
||||
[&progress_dialog] { return progress_dialog.WasCanceled(); });
|
||||
progress_dialog.Reset();
|
||||
return good;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue