summaryrefslogtreecommitdiff
path: root/include/mbgl/util/traits.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/util/traits.hpp')
-rw-r--r--include/mbgl/util/traits.hpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/mbgl/util/traits.hpp b/include/mbgl/util/traits.hpp
index 812d9fb547..7c9499897e 100644
--- a/include/mbgl/util/traits.hpp
+++ b/include/mbgl/util/traits.hpp
@@ -1,5 +1,4 @@
-#ifndef MBGL_UTIL_TRAITS
-#define MBGL_UTIL_TRAITS
+#pragma once
#include <type_traits>
@@ -11,5 +10,3 @@ constexpr auto underlying_type(T t) -> typename std::underlying_type<T>::type {
}
} // namespace mbgl
-
-#endif // MBGL_UTIL_TRAITS