refactor: EiScreen Define Spaceship op for EiScreen::HotKeyItem

This commit is contained in:
sithlord48 2025-10-13 19:17:46 -04:00 committed by Nick Bolton
parent 78e394a210
commit d32b98ec34

View file

@ -156,10 +156,10 @@ private:
{ {
public: public:
HotKeyItem(std::uint32_t mask, std::uint32_t id); 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: public:
std::uint32_t mask = 0; std::uint32_t mask = 0;