diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2016-05-25 21:14:18 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2016-05-25 21:35:37 +0200 |
commit | e2bcea90fce8a1e05e517c615d21d845e955f53d (patch) | |
tree | 208da7ad0db235a13b5ae6d360279a624e46fb95 /src/mbgl/annotation | |
parent | 6368403f433cfbfed1547d4167a9836fa2942a97 (diff) | |
download | qtlocation-mapboxgl-e2bcea90fce8a1e05e517c615d21d845e955f53d.tar.gz |
[core] use #pragma once instead of ifdef include guards
Diffstat (limited to 'src/mbgl/annotation')
-rw-r--r-- | src/mbgl/annotation/annotation_manager.hpp | 5 | ||||
-rw-r--r-- | src/mbgl/annotation/annotation_tile.hpp | 5 | ||||
-rw-r--r-- | src/mbgl/annotation/point_annotation_impl.hpp | 5 | ||||
-rw-r--r-- | src/mbgl/annotation/shape_annotation_impl.hpp | 5 |
4 files changed, 4 insertions, 16 deletions
diff --git a/src/mbgl/annotation/annotation_manager.hpp b/src/mbgl/annotation/annotation_manager.hpp index 4563a4a959..aaa60278cf 100644 --- a/src/mbgl/annotation/annotation_manager.hpp +++ b/src/mbgl/annotation/annotation_manager.hpp @@ -1,5 +1,4 @@ -#ifndef MBGL_ANNOTATION_MANAGER -#define MBGL_ANNOTATION_MANAGER +#pragma once #include <mbgl/annotation/annotation.hpp> #include <mbgl/annotation/point_annotation_impl.hpp> @@ -61,5 +60,3 @@ private: }; } // namespace mbgl - -#endif diff --git a/src/mbgl/annotation/annotation_tile.hpp b/src/mbgl/annotation/annotation_tile.hpp index 0e3b19e075..5943eb11c9 100644 --- a/src/mbgl/annotation/annotation_tile.hpp +++ b/src/mbgl/annotation/annotation_tile.hpp @@ -1,5 +1,4 @@ -#ifndef MBGL_ANNOTATION_TILE -#define MBGL_ANNOTATION_TILE +#pragma once #include <mbgl/tile/geometry_tile.hpp> #include <mbgl/tile/tile_id.hpp> @@ -57,5 +56,3 @@ private: }; } // namespace mbgl - -#endif diff --git a/src/mbgl/annotation/point_annotation_impl.hpp b/src/mbgl/annotation/point_annotation_impl.hpp index cf341f1252..d8852fca9e 100644 --- a/src/mbgl/annotation/point_annotation_impl.hpp +++ b/src/mbgl/annotation/point_annotation_impl.hpp @@ -1,5 +1,4 @@ -#ifndef MBGL_POINT_ANNOTATION_IMPL -#define MBGL_POINT_ANNOTATION_IMPL +#pragma once #include <mbgl/annotation/annotation.hpp> #include <mbgl/annotation/point_annotation.hpp> @@ -68,5 +67,3 @@ struct indexable<std::shared_ptr<const mbgl::PointAnnotationImpl>> { } // end namespace index } // end namespace geometry } // end namespace boost - -#endif diff --git a/src/mbgl/annotation/shape_annotation_impl.hpp b/src/mbgl/annotation/shape_annotation_impl.hpp index d745dd1299..fb3ef2d893 100644 --- a/src/mbgl/annotation/shape_annotation_impl.hpp +++ b/src/mbgl/annotation/shape_annotation_impl.hpp @@ -1,5 +1,4 @@ -#ifndef MBGL_SHAPE_ANNOTATION_IMPL -#define MBGL_SHAPE_ANNOTATION_IMPL +#pragma once #include <mapbox/geojsonvt.hpp> @@ -37,5 +36,3 @@ private: }; } // namespace mbgl - -#endif |