summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-12-04 17:58:48 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-12-04 17:58:48 +0100
commit4ad635e8dfe21d2dd0e0582c44379dde26ca57a8 (patch)
tree5a8b345c76b8ab60d650cd36a406f5c2b00e351b
parentddb1f32a5c7e9b1368033e09309fb44598250aec (diff)
compat/lqt: use pragma once
-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