summaryrefslogtreecommitdiff
path: root/src/mbgl/util/thread.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/util/thread.hpp')
-rw-r--r--src/mbgl/util/thread.hpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mbgl/util/thread.hpp b/src/mbgl/util/thread.hpp
index d54d998ab4..9efd5ea92f 100644
--- a/src/mbgl/util/thread.hpp
+++ b/src/mbgl/util/thread.hpp
@@ -1,5 +1,4 @@
-#ifndef MBGL_UTIL_THREAD
-#define MBGL_UTIL_THREAD
+#pragma once
#include <future>
#include <thread>
@@ -140,5 +139,3 @@ Thread<Object>::~Thread() {
} // namespace util
} // namespace mbgl
-
-#endif