From 815a87100ec472436929720f7d40e4741e5c4100 Mon Sep 17 00:00:00 2001 From: Matthew Olsson Date: Wed, 3 Jul 2024 15:01:07 +0000 Subject: [PATCH] LibWeb: Avoid copy when creating EasingStyleValue --- Userland/Libraries/LibWeb/CSS/StyleValues/EasingStyleValue.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibWeb/CSS/StyleValues/EasingStyleValue.h b/Userland/Libraries/LibWeb/CSS/StyleValues/EasingStyleValue.h index f3f38faf8f7..6c42eda86c8 100644 --- a/Userland/Libraries/LibWeb/CSS/StyleValues/EasingStyleValue.h +++ b/Userland/Libraries/LibWeb/CSS/StyleValues/EasingStyleValue.h @@ -91,7 +91,7 @@ public: bool properties_equal(EasingStyleValue const& other) const { return m_function == other.m_function; } private: - EasingStyleValue(Function function) + EasingStyleValue(Function const& function) : StyleValueWithDefaultOperators(Type::Easing) , m_function(function) {