diff --git a/Userland/Libraries/LibGfx/Rect.h b/Userland/Libraries/LibGfx/Rect.h index e137bf2aaa..7a48385d28 100644 --- a/Userland/Libraries/LibGfx/Rect.h +++ b/Userland/Libraries/LibGfx/Rect.h @@ -976,6 +976,10 @@ public: return Rect(*this); } + // For extern specialization, like CSSPixels + template + [[nodiscard]] Rect to_rounded() const = delete; + template [[nodiscard]] ALWAYS_INLINE Rect to_rounded() const {