Skip to content

Commit

Permalink
Fix C++20 lambda syntax deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
SaschaWillems committed Jan 15, 2025
1 parent b7fdf86 commit 5e92e05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/platform/platform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ void Platform::update()
delta_time = simulation_frame_time;
}

active_app->update_overlay(delta_time, [=]() {
active_app->update_overlay(delta_time, [=, this]() {
on_update_ui_overlay(*active_app->get_drawer());
});
active_app->update(delta_time);
Expand Down

0 comments on commit 5e92e05

Please sign in to comment.