diff options
Diffstat (limited to 'Libraries/LibGfx/FloatPoint.h')
-rw-r--r-- | Libraries/LibGfx/FloatPoint.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibGfx/FloatPoint.h b/Libraries/LibGfx/FloatPoint.h index 9867d8327d..ef50987e0b 100644 --- a/Libraries/LibGfx/FloatPoint.h +++ b/Libraries/LibGfx/FloatPoint.h @@ -44,7 +44,7 @@ public: { } - explicit FloatPoint(const Point& other) + explicit FloatPoint(const IntPoint& other) : m_x(other.x()) , m_y(other.y()) { @@ -149,7 +149,7 @@ public: set_y(value); } - Point to_int_point() const { return Point(x(), y()); } + IntPoint to_int_point() const { return IntPoint(x(), y()); } private: float m_x { 0 }; |