summaryrefslogtreecommitdiff
path: root/src/mbgl/util/rect.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/util/rect.hpp')
-rw-r--r--src/mbgl/util/rect.hpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mbgl/util/rect.hpp b/src/mbgl/util/rect.hpp
index 1dc8cb8af9..2b877db40d 100644
--- a/src/mbgl/util/rect.hpp
+++ b/src/mbgl/util/rect.hpp
@@ -1,5 +1,4 @@
-#ifndef MBGL_UTIL_RECT
-#define MBGL_UTIL_RECT
+#pragma once
namespace mbgl {
@@ -23,5 +22,3 @@ struct Rect {
inline bool hasArea() const { return w != 0 && h != 0; }
};
} // namespace mbgl
-
-#endif