summaryrefslogtreecommitdiff
path: root/lib/sorting.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/sorting.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/sorting.hpp')
-rw-r--r--lib/sorting.hpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/sorting.hpp b/lib/sorting.hpp
index 0cb0eaf..6b9be6a 100644
--- a/lib/sorting.hpp
+++ b/lib/sorting.hpp
@@ -1,5 +1,4 @@
-#ifndef SORTING_H
-#define SORTING_H
+#pragma once
template<typename T> struct PtrSorter {
bool
@@ -8,5 +7,3 @@ template<typename T> struct PtrSorter {
return *a < *b;
}
};
-
-#endif