From c431cf4907c63650f1eb1892ce23b89b7416563f Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Thu, 25 Jan 2024 11:40:24 -0500 Subject: [PATCH] LibGfx: Add comparison operators to CMYK --- Userland/Libraries/LibGfx/CMYKBitmap.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Userland/Libraries/LibGfx/CMYKBitmap.h b/Userland/Libraries/LibGfx/CMYKBitmap.h index 811a01edac..b92f591b1a 100644 --- a/Userland/Libraries/LibGfx/CMYKBitmap.h +++ b/Userland/Libraries/LibGfx/CMYKBitmap.h @@ -19,6 +19,8 @@ struct CMYK { u8 m; u8 y; u8 k; + + int operator<=>(CMYK const&) const = default; }; class CMYKBitmap : public RefCounted {