diff options
author | Neil <nyamatongwe@gmail.com> | 2019-03-19 11:52:17 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2019-03-19 11:52:17 +1100 |
commit | 37e58367e8b48e53032f1849de570668811e81fb (patch) | |
tree | da1df333b21ac0d19600ab4c990c539cda30bed3 /src/KeyMap.h | |
parent | 79299db113ee3a2390235cf2d81b949076d6a4ad (diff) | |
download | scintilla-mirror-37e58367e8b48e53032f1849de570668811e81fb.tar.gz |
Make constructors of simple classes noexcept.
Diffstat (limited to 'src/KeyMap.h')
-rw-r--r-- | src/KeyMap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/KeyMap.h b/src/KeyMap.h index b4299feec..6f30abf00 100644 --- a/src/KeyMap.h +++ b/src/KeyMap.h @@ -25,7 +25,7 @@ class KeyModifiers { public: int key; int modifiers; - KeyModifiers(int key_, int modifiers_) : key(key_), modifiers(modifiers_) { + KeyModifiers(int key_, int modifiers_) noexcept : key(key_), modifiers(modifiers_) { } bool operator<(const KeyModifiers &other) const { if (key == other.key) |