diff options
author | Pitanov V.V <dtho47@yandex.ru> | 2021-07-02 03:26:26 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-02 03:26:26 +1000 |
commit | 4da4514b719cb3f5599774dbbfdde50d3ec89bfe (patch) | |
tree | 7efbacfb4434e23aeb237d0169d4528d6ef9dd29 | |
parent | ad8a2b3d527f821d1a0b061811661d49d0920967 (diff) |
Fix GridMap erase Octans
-rw-r--r-- | modules/gridmap/grid_map.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gridmap/grid_map.cpp b/modules/gridmap/grid_map.cpp index c62e7acd62..e9134b32d9 100644 --- a/modules/gridmap/grid_map.cpp +++ b/modules/gridmap/grid_map.cpp @@ -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(); |