1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:48:10 +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

@ -75,7 +75,7 @@ Compositor::Compositor()
};
m_compose_timer->set_single_shot(true);
m_compose_timer->set_interval(1000 / 60);
m_immediate_compose_timer->on_timeout = [=]() {
m_immediate_compose_timer->on_timeout = [this]() {
#if defined(COMPOSITOR_DEBUG)
dbgprintf("Compositor: immediate frame callback: %d rects\n", m_dirty_rects.size());
#endif