diff --git a/Userland/Libraries/LibGfx/Color.h b/Userland/Libraries/LibGfx/Color.h index 5a0d490d8f..c505441759 100644 --- a/Userland/Libraries/LibGfx/Color.h +++ b/Userland/Libraries/LibGfx/Color.h @@ -149,7 +149,7 @@ public: #endif } - constexpr Color interpolate(const Color& other, float weight) const + Color interpolate(const Color& other, float weight) const noexcept { u8 r = red() + roundf(static_cast(other.red() - red()) * weight); u8 g = green() + roundf(static_cast(other.green() - green()) * weight);