summaryrefslogtreecommitdiff
path: root/include/mbgl/annotation
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2016-05-25 21:14:18 +0200
committerKonstantin Käfer <mail@kkaefer.com>2016-05-25 21:35:37 +0200
commite2bcea90fce8a1e05e517c615d21d845e955f53d (patch)
tree208da7ad0db235a13b5ae6d360279a624e46fb95 /include/mbgl/annotation
parent6368403f433cfbfed1547d4167a9836fa2942a97 (diff)
downloadqtlocation-mapboxgl-e2bcea90fce8a1e05e517c615d21d845e955f53d.tar.gz
[core] use #pragma once instead of ifdef include guards
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