diff options
Diffstat (limited to 'src/KeyMap.h')
-rw-r--r-- | src/KeyMap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/KeyMap.h b/src/KeyMap.h index 539b5e99a..245b6daaa 100644 --- a/src/KeyMap.h +++ b/src/KeyMap.h @@ -27,7 +27,7 @@ public: int modifiers; KeyModifiers(int key_, int modifiers_) noexcept : key(key_), modifiers(modifiers_) { } - bool operator<(const KeyModifiers &other) const { + bool operator<(const KeyModifiers &other) const noexcept { if (key == other.key) return modifiers < other.modifiers; else @@ -56,7 +56,7 @@ public: void Clear() noexcept; void AssignCmdKey(int key, int modifiers, unsigned int msg); unsigned int Find(int key, int modifiers) const; // 0 returned on failure - const std::map<KeyModifiers, unsigned int> &GetKeyMap() const; + const std::map<KeyModifiers, unsigned int> &GetKeyMap() const noexcept; }; } |