diff --git a/Libraries/LibGfx/Font/UnicodeRange.h b/Libraries/LibGfx/Font/UnicodeRange.h index 2d58be5d14d..db1fc842497 100644 --- a/Libraries/LibGfx/Font/UnicodeRange.h +++ b/Libraries/LibGfx/Font/UnicodeRange.h @@ -35,6 +35,12 @@ public: return MUST(String::formatted("U+{:x}-{:x}", m_min_code_point, m_max_code_point)); } + bool operator==(UnicodeRange const& other) const + { + return m_min_code_point == other.m_min_code_point + && m_max_code_point == other.m_max_code_point; + } + private: u32 m_min_code_point; u32 m_max_code_point;