fix: Compile issue on MacOS because Apple's just using fucking outdated stuff
This commit is contained in:
parent
7c2e060a5f
commit
c76bfceb3e
@ -155,7 +155,13 @@ namespace hex {
|
|||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto operator<=>(const Shortcut&) const = default;
|
bool operator<(const Shortcut &other) const {
|
||||||
|
return this->m_keys < other.m_keys;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool operator==(const Shortcut &other) const {
|
||||||
|
return this->m_keys == other.m_keys;
|
||||||
|
}
|
||||||
private:
|
private:
|
||||||
friend Shortcut operator+(const Key &lhs, const Key &rhs);
|
friend Shortcut operator+(const Key &lhs, const Key &rhs);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user