summaryrefslogtreecommitdiff
path: root/include/mbgl/platform/default/glfw_view.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/platform/default/glfw_view.hpp')
-rw-r--r--include/mbgl/platform/default/glfw_view.hpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/mbgl/platform/default/glfw_view.hpp b/include/mbgl/platform/default/glfw_view.hpp
index 80cf028f79..b5931e6262 100644
--- a/include/mbgl/platform/default/glfw_view.hpp
+++ b/include/mbgl/platform/default/glfw_view.hpp
@@ -1,5 +1,4 @@
-#ifndef MBGL_COMMON_GLFW_VIEW
-#define MBGL_COMMON_GLFW_VIEW
+#pragma once
#include <mbgl/mbgl.hpp>
#include <mbgl/util/run_loop.hpp>
@@ -90,5 +89,3 @@ private:
GLFWwindow *window = nullptr;
bool dirty = false;
};
-
-#endif