From 4f6ab6a4a29186d21f0e82b72738289a1eed13f7 Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Mon, 5 Feb 2024 09:36:56 +0000 Subject: [PATCH] Fix spurious ',' in operator== --- src/gradient.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gradient.cpp b/src/gradient.cpp index 18edf2f6e..6984d8b60 100644 --- a/src/gradient.cpp +++ b/src/gradient.cpp @@ -70,8 +70,8 @@ gradient& gradient::operator=(gradient rhs) bool gradient::operator==(gradient const& other) const { return transform_ == other.transform_ && x1_ == other.x1_ && y1_ == other.y1_ && x2_ == other.x2_ && - y2_ == other.y2_ && r_ == other.r_ && std::equal(stops_.begin(), stops_.end(), other.stops_.begin()), - units_ == other.units_ && gradient_type_ == other.gradient_type_; + y2_ == other.y2_ && r_ == other.r_ && std::equal(stops_.begin(), stops_.end(), other.stops_.begin()) && + units_ == other.units_ && gradient_type_ == other.gradient_type_; } void gradient::set_gradient_type(gradient_e grad)