summaryrefslogtreecommitdiff
path: root/include/mbgl/style
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/style
parent6368403f433cfbfed1547d4167a9836fa2942a97 (diff)
downloadqtlocation-mapboxgl-e2bcea90fce8a1e05e517c615d21d845e955f53d.tar.gz
[core] use #pragma once instead of ifdef include guards
Diffstat (limited to 'include/mbgl/style')
-rw-r--r--include/mbgl/style/property_transition.hpp5
-rw-r--r--include/mbgl/style/types.hpp5
2 files changed, 2 insertions, 8 deletions
diff --git a/include/mbgl/style/property_transition.hpp b/include/mbgl/style/property_transition.hpp
index fa837f11a3..b9a301feea 100644
--- a/include/mbgl/style/property_transition.hpp
+++ b/include/mbgl/style/property_transition.hpp
@@ -1,5 +1,4 @@
-#ifndef MBGL_STYLE_PROPERTY_TRANSITION
-#define MBGL_STYLE_PROPERTY_TRANSITION
+#pragma once
#include <mbgl/util/chrono.hpp>
#include <mbgl/util/optional.hpp>
@@ -16,5 +15,3 @@ public:
};
} // namespace mbgl
-
-#endif // MBGL_STYLE_PROPERTY_TRANSITION
diff --git a/include/mbgl/style/types.hpp b/include/mbgl/style/types.hpp
index 9cad1071c4..9b03ab8a2d 100644
--- a/include/mbgl/style/types.hpp
+++ b/include/mbgl/style/types.hpp
@@ -1,5 +1,4 @@
-#ifndef MBGL_STYLE_TYPES
-#define MBGL_STYLE_TYPES
+#pragma once
#include <mbgl/util/enum.hpp>
@@ -146,5 +145,3 @@ using CustomLayerDeinitializeFunction = void (*)(void* context);
} // namespace mbgl
-#endif
-