Fix GridMap erase Octans

(cherry picked from commit 4da4514b71)
This commit is contained in:
Pitanov V.V 2021-07-02 03:26:26 +10:00 committed by Rémi Verschelde
parent c90766cc38
commit 686a27b278
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 1 deletions

View File

@ -813,7 +813,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();