summaryrefslogtreecommitdiff
path: root/include/mbgl/annotation
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/annotation')
-rw-r--r--include/mbgl/annotation/annotation.hpp5
-rw-r--r--include/mbgl/annotation/point_annotation.hpp5
-rw-r--r--include/mbgl/annotation/shape_annotation.hpp5
3 files changed, 3 insertions, 12 deletions
diff --git a/include/mbgl/annotation/annotation.hpp b/include/mbgl/annotation/annotation.hpp
index 00b2446e40..52916549c9 100644
--- a/include/mbgl/annotation/annotation.hpp
+++ b/include/mbgl/annotation/annotation.hpp
@@ -1,5 +1,4 @@
-#ifndef MBGL_ANNOTATION
-#define MBGL_ANNOTATION
+#pragma once
#include <cstdint>
#include <vector>
@@ -10,5 +9,3 @@ using AnnotationID = uint32_t;
using AnnotationIDs = std::vector<AnnotationID>;
} // namespace mbgl
-
-#endif
diff --git a/include/mbgl/annotation/point_annotation.hpp b/include/mbgl/annotation/point_annotation.hpp
index 3dea9a3e3e..c9236c3c04 100644
--- a/include/mbgl/annotation/point_annotation.hpp
+++ b/include/mbgl/annotation/point_annotation.hpp
@@ -1,5 +1,4 @@
-#ifndef MBGL_ANNOTATION_POINT_ANNOTATION
-#define MBGL_ANNOTATION_POINT_ANNOTATION
+#pragma once
#include <mbgl/util/geo.hpp>
@@ -17,5 +16,3 @@ public:
};
} // namespace mbgl
-
-#endif
diff --git a/include/mbgl/annotation/shape_annotation.hpp b/include/mbgl/annotation/shape_annotation.hpp
index 4d8d35d9ca..6e3fe95dd4 100644
--- a/include/mbgl/annotation/shape_annotation.hpp
+++ b/include/mbgl/annotation/shape_annotation.hpp
@@ -1,5 +1,4 @@
-#ifndef MBGL_ANNOTATION_SHAPE_ANNOTATION
-#define MBGL_ANNOTATION_SHAPE_ANNOTATION
+#pragma once
#include <mbgl/annotation/annotation.hpp>
#include <mbgl/style/types.hpp>
@@ -53,5 +52,3 @@ private:
};
} // namespace mbgl
-
-#endif