mirror of
https://github.com/deskflow/deskflow.git
synced 2026-07-04 21:04:59 +08:00
refactor: EiScreen Define Spaceship op for EiScreen::HotKeyItem
This commit is contained in:
parent
78e394a210
commit
d32b98ec34
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user