summaryrefslogtreecommitdiff
path: root/lib/special_members.hpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-01-02 19:55:40 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2022-01-02 19:55:40 +0000
commitb5b9c95de160a97701777d37187de194d0b29e61 (patch)
tree9acc47919f90b119ee6029266f565bd33e0c3630 /lib/special_members.hpp
parentSeparate geographic data (GeoData) from its visual representation(s) (Terrain) (diff)
downloadilt-b5b9c95de160a97701777d37187de194d0b29e61.tar.bz2
ilt-b5b9c95de160a97701777d37187de194d0b29e61.tar.xz
ilt-b5b9c95de160a97701777d37187de194d0b29e61.zip
Replace include guard macros with pragma once
Diffstat (limited to 'lib/special_members.hpp')
-rw-r--r--lib/special_members.hpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/special_members.hpp b/lib/special_members.hpp
index 4b85884..312862b 100644
--- a/lib/special_members.hpp
+++ b/lib/special_members.hpp
@@ -1,5 +1,4 @@
-#ifndef SPECIAL_MEMBERS_H
-#define SPECIAL_MEMBERS_H
+#pragma once
#define NO_COPY(TYPE) \
TYPE(const TYPE &) = delete; \
@@ -28,5 +27,3 @@
#define CUSTOM_MOVE(TYPE) \
TYPE(TYPE &&) noexcept; \
TYPE & operator=(TYPE &&) noexcept
-
-#endif