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/gl | |
parent | 6368403f433cfbfed1547d4167a9836fa2942a97 (diff) | |
download | qtlocation-mapboxgl-e2bcea90fce8a1e05e517c615d21d845e955f53d.tar.gz |
[core] use #pragma once instead of ifdef include guards
Diffstat (limited to 'src/mbgl/gl')
-rw-r--r-- | src/mbgl/gl/debugging.hpp | 5 | ||||
-rw-r--r-- | src/mbgl/gl/gl_config.hpp | 5 | ||||
-rw-r--r-- | src/mbgl/gl/gl_object_store.hpp | 5 | ||||
-rw-r--r-- | src/mbgl/gl/texture_pool.hpp | 5 |
4 files changed, 4 insertions, 16 deletions
diff --git a/src/mbgl/gl/debugging.hpp b/src/mbgl/gl/debugging.hpp index 5321858624..b51b5dafe2 100644 --- a/src/mbgl/gl/debugging.hpp +++ b/src/mbgl/gl/debugging.hpp @@ -1,5 +1,4 @@ -#ifndef MBGL_GL_DEBUG_MESSAGES -#define MBGL_GL_DEBUG_MESSAGES +#pragma once #include <string> @@ -25,5 +24,3 @@ struct group { } // namespace debugging } // namespace gl } // namespace mbgl - -#endif diff --git a/src/mbgl/gl/gl_config.hpp b/src/mbgl/gl/gl_config.hpp index 62dfbcadc0..7b42c7829f 100644 --- a/src/mbgl/gl/gl_config.hpp +++ b/src/mbgl/gl/gl_config.hpp @@ -1,5 +1,4 @@ -#ifndef MBGL_GL_GL_CONFIG -#define MBGL_GL_GL_CONFIG +#pragma once #include <cstdint> #include <tuple> @@ -111,5 +110,3 @@ public: } // namespace gl } // namespace mbgl - -#endif // MBGL_RENDERER_GL_CONFIG diff --git a/src/mbgl/gl/gl_object_store.hpp b/src/mbgl/gl/gl_object_store.hpp index 832f1d09b3..b30abd3892 100644 --- a/src/mbgl/gl/gl_object_store.hpp +++ b/src/mbgl/gl/gl_object_store.hpp @@ -1,5 +1,4 @@ -#ifndef MBGL_MAP_UTIL_GL_OBJECT_STORE -#define MBGL_MAP_UTIL_GL_OBJECT_STORE +#pragma once #include <mbgl/gl/gl.hpp> #include <mbgl/util/noncopyable.hpp> @@ -137,5 +136,3 @@ public: } // namespace gl } // namespace mbgl - -#endif diff --git a/src/mbgl/gl/texture_pool.hpp b/src/mbgl/gl/texture_pool.hpp index 10f63bfac9..10894f146e 100644 --- a/src/mbgl/gl/texture_pool.hpp +++ b/src/mbgl/gl/texture_pool.hpp @@ -1,5 +1,4 @@ -#ifndef MBGL_UTIL_TEXTUREPOOL -#define MBGL_UTIL_TEXTUREPOOL +#pragma once #include <mbgl/util/noncopyable.hpp> #include <mbgl/gl/gl.hpp> @@ -37,5 +36,3 @@ private: } // namespace gl } // namespace mbgl - -#endif |