LyricsPage: use ScreenManager::get_io_service()
[ncmpc-debian.git] / src / Size.hxx
index caf7e13..2c6bd44 100644 (file)
 struct Size {
        unsigned width, height;
 
+       constexpr bool operator==(Size other) const {
+               return width == other.width && height == other.height;
+       }
+
+       constexpr bool operator!=(Size other) const {
+               return !(*this == other);
+       }
+
        constexpr Size operator+(Size other) const {
                return {width + other.width, height + other.height};
        }