summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-01-16 05:49:11 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-01-16 05:49:11 +0100
commit27e78617825a35b1fcb38d6a01b7ad5fbbb9d2d5 (patch)
treecb28b8fb2b6098b954484148c9afb5ac019fdf69 /src
parent9fdb557dbdaa4338073a2b72584e7489c74d421c (diff)
d
Diffstat (limited to 'src')
-rw-r--r--src/RTree.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/RTree.hpp b/src/RTree.hpp
index 18ae3b77..7820ddd7 100644
--- a/src/RTree.hpp
+++ b/src/RTree.hpp
@@ -1265,7 +1265,7 @@ void RTREE_QUAL::ListTree(Array<Rect>& treeList, Array<Node*>& toVisit) const
while (!toVisit.isEmpty()) {
Node* a_node = toVisit.back();
- arrayRemove(toVisit, toVisit.size()-1);
+ arrayRemoveSuffix(toVisit, toVisit.size());
if(a_node->IsInternalNode())
{
// This is an internal node in the tree