summaryrefslogtreecommitdiff
path: root/Libraries/LibHTML
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-02-19 11:42:33 +0100
committerAndreas Kling <kling@serenityos.org>2020-02-19 12:03:01 +0100
commitef38c49619ff9b37b9b7a9f2982e10a00eec2f2d (patch)
tree9266a54655077863cc10b3bea366ace655af646d /Libraries/LibHTML
parentca4d4cac45eb3d5f6999eebd8cb0b358afce235c (diff)
downloadserenity-ef38c49619ff9b37b9b7a9f2982e10a00eec2f2d.zip
WindowServer+LibGUI+LibHTML: Fix build with -std=c++2a
Diffstat (limited to 'Libraries/LibHTML')
-rw-r--r--Libraries/LibHTML/HtmlView.cpp2
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();