refactor: EiScreen Define Spaceship op for EiScreen::HotKeyItem
This commit is contained in:
parent
78e394a210
commit
d32b98ec34
1 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue