summaryrefslogtreecommitdiff
path: root/include/mbgl/util/rect.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/util/rect.hpp')
-rw-r--r--include/mbgl/util/rect.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/mbgl/util/rect.hpp b/include/mbgl/util/rect.hpp
index a216b8e145..4e524b4156 100644
--- a/include/mbgl/util/rect.hpp
+++ b/include/mbgl/util/rect.hpp
@@ -5,7 +5,8 @@ namespace mbgl {
template <typename T>
struct Rect {
- explicit Rect(T x, T y, T w, T h) : x(x), y(y), w(w), h(h) {}
+ inline Rect() {}
+ inline Rect(T x, T y, T w, T h) : x(x), y(y), w(w), h(h) {}
T x = 0, y = 0;
T w = 0, h = 0;