1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 04:55:00 +00:00

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

This commit is contained in:
Andreas Kling 2020-02-19 11:42:33 +01:00
parent ca4d4cac45
commit ef38c49619
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();