WindowServer+LibGUI+LibHTML: Fix build with -std=c++2a

This commit is contained in:
Andreas Kling 2020-02-19 11:42:33 +01:00
commit ef38c49619
Notes: sideshowbarker 2024-07-19 09:13:34 +09:00
3 changed files with 3 additions and 3 deletions

View file

@ -332,7 +332,7 @@ void HtmlView::load(const URL& url)
if (on_load_start)
on_load_start(url);
ResourceLoader::the().load(url, [=](auto data) {
ResourceLoader::the().load(url, [this, url](auto data) {
if (data.is_null()) {
dbg() << "Load failed!";
ASSERT_NOT_REACHED();