summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--compat/LooseQuadtree-impl.h5
-rw-r--r--compat/LooseQuadtree.h6
2 files changed, 2 insertions, 9 deletions
diff --git a/compat/LooseQuadtree-impl.h b/compat/LooseQuadtree-impl.h
index f9855f0c..3ad64033 100644
--- a/compat/LooseQuadtree-impl.h
+++ b/compat/LooseQuadtree-impl.h
@@ -1,5 +1,4 @@
-#ifndef LOOSEQUADTREE_LOOSEQUADTREE_IMPL_H
-#define LOOSEQUADTREE_LOOSEQUADTREE_IMPL_H
+#pragma once
#include "LooseQuadtree.h"
#include "compat/assert.hpp"
@@ -1409,5 +1408,3 @@ void LooseQuadtree<NumberT, ObjectT, BoundingBoxExtractorT>::Query::Next() {
#endif
#undef assert
-
-#endif //LOOSEQUADTREE_LOOSEQUADTREE_IMPL_H
diff --git a/compat/LooseQuadtree.h b/compat/LooseQuadtree.h
index 95ebc13f..3f52457a 100644
--- a/compat/LooseQuadtree.h
+++ b/compat/LooseQuadtree.h
@@ -1,6 +1,4 @@
-#ifndef LOOSEQUADTREE_LOOSEQUADTREE_H
-#define LOOSEQUADTREE_LOOSEQUADTREE_H
-
+#pragma once
/**
* LooseQuadtree written by Zozo
* use freely under MIT license
@@ -112,5 +110,3 @@ private:
} //loose_quadtree
-
-#endif //LOOSEQUADTREE_LOOSEQUADTREE_H