From e2bcea90fce8a1e05e517c615d21d845e955f53d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Wed, 25 May 2016 21:14:18 +0200 Subject: [core] use #pragma once instead of ifdef include guards --- include/mbgl/annotation/annotation.hpp | 5 +---- include/mbgl/annotation/point_annotation.hpp | 5 +---- include/mbgl/annotation/shape_annotation.hpp | 5 +---- 3 files changed, 3 insertions(+), 12 deletions(-) (limited to 'include/mbgl/annotation') 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 #include @@ -10,5 +9,3 @@ using AnnotationID = uint32_t; using AnnotationIDs = std::vector; } // 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 @@ -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 #include @@ -53,5 +52,3 @@ private: }; } // namespace mbgl - -#endif -- cgit v1.2.1