diff --git a/Userland/Libraries/LibGfx/Point.h b/Userland/Libraries/LibGfx/Point.h index 59fe677106..4aae55d35c 100644 --- a/Userland/Libraries/LibGfx/Point.h +++ b/Userland/Libraries/LibGfx/Point.h @@ -22,14 +22,14 @@ class Point { public: Point() = default; - Point(T x, T y) + constexpr Point(T x, T y) : m_x(x) , m_y(y) { } template - Point(U x, U y) + constexpr Point(U x, U y) : m_x(x) , m_y(y) {