Skip to content

Commit

Permalink
good job clang
Browse files Browse the repository at this point in the history
  • Loading branch information
Dregu committed Feb 25, 2024
1 parent 9be67d5 commit 97cfa74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game_api/movable_behavior.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ uint8_t CustomMovableBehavior::get_next_state_id(Movable* movable)
void CustomMovableBehavior::hook_movable(Movable* movable)
{
using_movables[movable] =
movable->set_on_dtor([=](Entity*)
movable->set_on_dtor([=, this](Entity*)
{ using_movables.erase(movable); });
}

Expand Down

0 comments on commit 97cfa74

Please sign in to comment.