diff --git a/src/Math/Geometry/Rectangle.h b/src/Math/Geometry/Rectangle.h index ccf8ac019..6211bd8b7 100644 --- a/src/Math/Geometry/Rectangle.h +++ b/src/Math/Geometry/Rectangle.h @@ -60,7 +60,7 @@ template class Rectangle { * * Construct zero-area rectangle positioned at origin. */ - inline constexpr Rectangle() = default; + inline constexpr Rectangle() {} /** @brief Construct rectangle from two corners */ inline constexpr Rectangle(const Vector2& bottomLeft, const Vector2& topRight): _bottomLeft(bottomLeft), _topRight(topRight) {}