summaryrefslogtreecommitdiff
path: root/include/mbgl/util/exception.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/util/exception.hpp')
-rw-r--r--include/mbgl/util/exception.hpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/mbgl/util/exception.hpp b/include/mbgl/util/exception.hpp
index b2214b36b8..b73a94fcd2 100644
--- a/include/mbgl/util/exception.hpp
+++ b/include/mbgl/util/exception.hpp
@@ -1,5 +1,4 @@
-#ifndef MBGL_UTIL_EXCEPTION
-#define MBGL_UTIL_EXCEPTION
+#pragma once
#include <stdexcept>
@@ -28,5 +27,3 @@ struct ShaderException : Exception {
} // namespace util
} // namespace mbgl
-
-#endif