summaryrefslogtreecommitdiff
path: root/src/mbgl/text/get_anchors.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/text/get_anchors.hpp')
-rw-r--r--src/mbgl/text/get_anchors.hpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mbgl/text/get_anchors.hpp b/src/mbgl/text/get_anchors.hpp
index 1f76685f9a..9a0a5a650c 100644
--- a/src/mbgl/text/get_anchors.hpp
+++ b/src/mbgl/text/get_anchors.hpp
@@ -1,5 +1,4 @@
-#ifndef MBGL_TEXT_GETANCHORS
-#define MBGL_TEXT_GETANCHORS
+#pragma once
#include <mbgl/geometry/anchor.hpp>
#include <mbgl/tile/geometry_tile.hpp>
@@ -12,5 +11,3 @@ Anchors getAnchors(const GeometryCoordinates &line, float spacing,
const float iconLeft, const float iconRight,
const float glyphSize, const float boxScale, const float overscaling);
} // namespace mbgl
-
-#endif