Skip to content

Commit

Permalink
Fix GridMap erase Octans
Browse files Browse the repository at this point in the history
  • Loading branch information
Valeryn4 authored Jul 1, 2021
1 parent ad8a2b3 commit 4da4514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/gridmap/grid_map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ void GridMap::_update_octants_callback() {

while (to_delete.front()) {
octant_map.erase(to_delete.front()->get());
to_delete.pop_back();
to_delete.pop_front();
}

_update_visibility();
Expand Down

0 comments on commit 4da4514

Please sign in to comment.