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

@ -44,7 +44,7 @@ void headless_application::InitializeCallbacks()
quit();
}
};
callbacks.call_after = [=](std::function<void()> func)
callbacks.call_after = [=, this](std::function<void()> func)
{
RequestCallAfter(std::move(func));
};