From d32b98ec34c1db798f4292a66609ccdff6fffda8 Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Mon, 13 Oct 2025 19:17:46 -0400 Subject: [PATCH] refactor: EiScreen Define Spaceship op for EiScreen::HotKeyItem --- src/lib/platform/EiScreen.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/platform/EiScreen.h b/src/lib/platform/EiScreen.h index 5f42ac2e4..bfad93baa 100644 --- a/src/lib/platform/EiScreen.h +++ b/src/lib/platform/EiScreen.h @@ -156,10 +156,10 @@ private: { public: HotKeyItem(std::uint32_t mask, std::uint32_t id); - bool operator<(const HotKeyItem &other) const + auto operator<=>(const HotKeyItem &other) const { - return mask < other.mask; - }; + return mask <=> other.mask; + } public: std::uint32_t mask = 0;