diff options
Diffstat (limited to 'src/RTree.hpp')
-rw-r--r-- | src/RTree.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/RTree.hpp b/src/RTree.hpp index 12b55157..4c0faf6e 100644 --- a/src/RTree.hpp +++ b/src/RTree.hpp @@ -185,7 +185,7 @@ void RTREE_QUAL::Insert(const ELEMTYPE a_min[NUMDIMS], const ELEMTYPE a_max[NUMD RTREE_TEMPLATE -void RTREE_QUAL::Remove(const ELEMTYPE a_min[NUMDIMS], const ELEMTYPE a_max[NUMDIMS], const DATATYPE& a_dataId) +bool RTREE_QUAL::Remove(const ELEMTYPE a_min[NUMDIMS], const ELEMTYPE a_max[NUMDIMS], const DATATYPE& a_dataId) { #ifdef _DEBUG for(int index=0; index<NUMDIMS; ++index) @@ -202,7 +202,7 @@ void RTREE_QUAL::Remove(const ELEMTYPE a_min[NUMDIMS], const ELEMTYPE a_max[NUMD rect.m_max[axis] = a_max[axis]; } - RemoveRect(&rect, a_dataId, &m_root); + return !RemoveRect(&rect, a_dataId, &m_root); } |