summaryrefslogtreecommitdiff
path: root/include/mbgl/platform/default/headless_view.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/platform/default/headless_view.hpp')
-rw-r--r--include/mbgl/platform/default/headless_view.hpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/mbgl/platform/default/headless_view.hpp b/include/mbgl/platform/default/headless_view.hpp
index 9fbbdfd206..d787eb1691 100644
--- a/include/mbgl/platform/default/headless_view.hpp
+++ b/include/mbgl/platform/default/headless_view.hpp
@@ -1,5 +1,4 @@
-#ifndef MBGL_COMMON_HEADLESS_VIEW
-#define MBGL_COMMON_HEADLESS_VIEW
+#pragma once
#ifdef __APPLE__
#include <TargetConditionals.h>
@@ -85,5 +84,3 @@ private:
};
} // namespace mbgl
-
-#endif