summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-07-01 20:08:22 +0200
committerGitHub <noreply@github.com>2021-07-01 20:08:22 +0200
commit382ddd497a732812356fccbe9642d86848a4da9d (patch)
tree7efbacfb4434e23aeb237d0169d4528d6ef9dd29
parentad8a2b3d527f821d1a0b061811661d49d0920967 (diff)
parent4da4514b719cb3f5599774dbbfdde50d3ec89bfe (diff)
Merge pull request #50052 from Valeryn4/Valeryn4-Fix-GridMap
-rw-r--r--modules/gridmap/grid_map.cpp2
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();