diff --git a/include/mapbox/geometry/point.hpp b/include/mapbox/geometry/point.hpp index d9f6025..847e3b0 100644 --- a/include/mapbox/geometry/point.hpp +++ b/include/mapbox/geometry/point.hpp @@ -7,7 +7,14 @@ template struct point { using coordinate_type = T; - constexpr point(T x_ = T(), T y_ = T()) : x(x_), y(y_) {} + + constexpr point() + : x(), y() + {} + constexpr point(T x_, T y_) + : x(x_), y(y_) + {} + T x; T y; };