diff options
author | Andreas Kling <kling@serenityos.org> | 2020-02-19 11:42:33 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-19 12:03:01 +0100 |
commit | ef38c49619ff9b37b9b7a9f2982e10a00eec2f2d (patch) | |
tree | 9266a54655077863cc10b3bea366ace655af646d /Libraries/LibHTML | |
parent | ca4d4cac45eb3d5f6999eebd8cb0b358afce235c (diff) | |
download | serenity-ef38c49619ff9b37b9b7a9f2982e10a00eec2f2d.zip |
WindowServer+LibGUI+LibHTML: Fix build with -std=c++2a
Diffstat (limited to 'Libraries/LibHTML')
-rw-r--r-- | Libraries/LibHTML/HtmlView.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibHTML/HtmlView.cpp b/Libraries/LibHTML/HtmlView.cpp index 259fae0231..8d491d4e62 100644 --- a/Libraries/LibHTML/HtmlView.cpp +++ b/Libraries/LibHTML/HtmlView.cpp @@ -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(); |