summaryrefslogtreecommitdiffhomepage
path: root/compat/LooseQuadtree.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-12-04 15:07:52 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-12-04 15:39:43 +0100
commitb0c87995cbe887d36c7aa5ecb6f5b0f3224eb595 (patch)
tree86ae804faf16195847c1d36eb800d58d0b027ef8 /compat/LooseQuadtree.h
parent7dd0604d57fb0941b87cc944f46afa68e386d99f (diff)
compat/lqt: make it build
Diffstat (limited to 'compat/LooseQuadtree.h')
-rw-r--r--compat/LooseQuadtree.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/compat/LooseQuadtree.h b/compat/LooseQuadtree.h
index a27c482d..90ad0aee 100644
--- a/compat/LooseQuadtree.h
+++ b/compat/LooseQuadtree.h
@@ -71,8 +71,8 @@ public:
Query() = delete;
Query(const Query&) = delete;
Query& operator=(const Query&) = delete;
- Query(Query&&);
- Query& operator=(Query&&);
+ Query(Query&&) noexcept;
+ Query& operator=(Query&&) noexcept;
bool EndOfQuery() const;
Object* GetCurrent() const;
@@ -85,8 +85,8 @@ public:
Impl* pimpl_;
};
- LooseQuadtree() {}
- ~LooseQuadtree() {}
+ LooseQuadtree() = default;
+ ~LooseQuadtree() = default;
LooseQuadtree(const LooseQuadtree&) = delete;
LooseQuadtree& operator=(const LooseQuadtree&) = delete;
@@ -113,6 +113,4 @@ private:
} //loose_quadtree
-#include "LooseQuadtree-impl.h"
-
#endif //LOOSEQUADTREE_LOOSEQUADTREE_H