summaryrefslogtreecommitdiff
path: root/src/mbgl/util/mat4.hpp
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 /src/mbgl/util/mat4.hpp
parent6368403f433cfbfed1547d4167a9836fa2942a97 (diff)
downloadqtlocation-mapboxgl-e2bcea90fce8a1e05e517c615d21d845e955f53d.tar.gz
[core] use #pragma once instead of ifdef include guards
Diffstat (limited to 'src/mbgl/util/mat4.hpp')
-rw-r--r--src/mbgl/util/mat4.hpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mbgl/util/mat4.hpp b/src/mbgl/util/mat4.hpp
index 80bd912554..2adeba8821 100644
--- a/src/mbgl/util/mat4.hpp
+++ b/src/mbgl/util/mat4.hpp
@@ -20,8 +20,7 @@
//
// 3. This notice may not be removed or altered from any source distribution.
-#ifndef MBGL_UTIL_MAT4
-#define MBGL_UTIL_MAT4
+#pragma once
#include <array>
@@ -48,5 +47,3 @@ void transformMat4(vec4& out, const vec4& a, const mat4& m);
} // namespace matrix
} // namespace mbgl
-
-#endif // MBGL_UTIL_MAT4