summaryrefslogtreecommitdiff
path: root/include/mbgl/platform/default/headless_display.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/platform/default/headless_display.hpp')
-rw-r--r--include/mbgl/platform/default/headless_display.hpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/mbgl/platform/default/headless_display.hpp b/include/mbgl/platform/default/headless_display.hpp
index 80a0c31af3..edcc905221 100644
--- a/include/mbgl/platform/default/headless_display.hpp
+++ b/include/mbgl/platform/default/headless_display.hpp
@@ -1,5 +1,4 @@
-#ifndef MBGL_COMMON_HEADLESS_DISPLAY
-#define MBGL_COMMON_HEADLESS_DISPLAY
+#pragma once
#include <mbgl/platform/default/headless_view.hpp>
@@ -21,5 +20,3 @@ public:
};
} // namespace mbgl
-
-#endif