diff --git a/plugins/libimhex/include/hex/api/keybinding.hpp b/plugins/libimhex/include/hex/api/keybinding.hpp index de667f46f..4501464d0 100644 --- a/plugins/libimhex/include/hex/api/keybinding.hpp +++ b/plugins/libimhex/include/hex/api/keybinding.hpp @@ -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);