Silence deprecation warning (implicit capture of this on [=])

This commit is contained in:
Nekotekina 2020-02-10 11:55:53 +03:00
parent 1bc9fd2863
commit 4bc431ec31
31 changed files with 249 additions and 247 deletions

View file

@ -454,7 +454,7 @@ void Emulator::Init()
});
};
Emu.CallAfter([=]()
Emu.CallAfter([dlg]()
{
dlg->Create(+g_progr, +g_progr);
});
@ -522,7 +522,7 @@ void Emulator::Init()
if (dlg)
{
Emu.CallAfter([=]
Emu.CallAfter([=]()
{
dlg->Close(true);
});