summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGfx/ICCProfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibGfx/ICCProfile.h')
-rw-r--r--Userland/Libraries/LibGfx/ICCProfile.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGfx/ICCProfile.h b/Userland/Libraries/LibGfx/ICCProfile.h
index 8f0f2171f6..18a9f33ca6 100644
--- a/Userland/Libraries/LibGfx/ICCProfile.h
+++ b/Userland/Libraries/LibGfx/ICCProfile.h
@@ -38,6 +38,8 @@ struct [[gnu::packed]] DistinctFourCC {
char c2() const { return (value >> 8) & 0xff; }
char c3() const { return value & 0xff; }
+ bool operator==(DistinctFourCC b) const { return value == b.value; }
+
u32 value { 0 };
};