From 4ad635e8dfe21d2dd0e0582c44379dde26ca57a8 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 4 Dec 2022 17:58:48 +0100 Subject: compat/lqt: use pragma once --- compat/LooseQuadtree-impl.h | 5 +---- compat/LooseQuadtree.h | 6 +----- 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::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 -- cgit v1.2.3