1
0
mirror of synced 2024-11-12 18:20:52 +01:00

fix: Compile issue on MacOS because Apple's just using fucking outdated stuff

This commit is contained in:
WerWolv 2021-12-23 16:09:29 +01:00
parent 7c2e060a5f
commit c76bfceb3e

View File

@ -155,7 +155,13 @@ namespace hex {
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:
friend Shortcut operator+(const Key &lhs, const Key &rhs);