From 52a8b1de5b7552a8f6fcb80c4a54e6f714f688ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Wed, 14 Oct 2020 22:05:48 +0200 Subject: [PATCH] Cosmetics --- src/common/rtree.h | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/src/common/rtree.h b/src/common/rtree.h index 250eb63a..e23b377e 100644 --- a/src/common/rtree.h +++ b/src/common/rtree.h @@ -1,7 +1,6 @@ #ifndef RTREE_H #define RTREE_H -#include #include #include #include @@ -387,10 +386,10 @@ RTREE_TEMPLATE void RTREE_QUAL::Insert(const ELEMTYPE a_min[NUMDIMS], const ELEMTYPE a_max[NUMDIMS], const DATATYPE& a_dataId) { - #ifdef _DEBUG + #ifndef QT_NO_DEBUG for (int index=0; index= 0 && a_level <= (*a_root)->m_level); - #ifdef _DEBUG + #ifndef QT_NO_DEBUG for (int index=0; index < NUMDIMS; ++index) Q_ASSERT(a_rect->m_min[index] <= a_rect->m_max[index]); - #endif //_DEBUG + #endif // QT_NO_DEBUG Node* newRoot; Node* newNode;