1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:07:36 +00:00

LibPDF: Add ColorSpaceFamily::operator==

No behavior change.
This commit is contained in:
Nico Weber 2023-11-06 13:23:48 +01:00 committed by Andreas Kling
parent 4f8e915ef8
commit 0f07049935
2 changed files with 7 additions and 2 deletions

View file

@ -44,6 +44,11 @@ public:
ENUMERATE_COLOR_SPACE_FAMILIES(ENUMERATE)
#undef ENUMERATE
bool operator==(ColorSpaceFamily const& other) const
{
return m_name == other.m_name;
}
private:
DeprecatedFlyString m_name;
bool m_may_be_specified_directly;