Fix GridMap erase Octans

This commit is contained in:
Pitanov V.V 2021-07-02 03:26:26 +10:00 committed by GitHub
parent ad8a2b3d52
commit 4da4514b71
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -780,7 +780,7 @@ void GridMap::_update_octants_callback() {
while (to_delete.front()) { while (to_delete.front()) {
octant_map.erase(to_delete.front()->get()); octant_map.erase(to_delete.front()->get());
to_delete.pop_back(); to_delete.pop_front();
} }
_update_visibility(); _update_visibility();