diff options
author | Neil <nyamatongwe@gmail.com> | 2019-04-28 09:35:43 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2019-04-28 09:35:43 +1000 |
commit | fa93bd28150e92b485ef6f094fda8a1ba5a5ed65 (patch) | |
tree | d208ee5eedfebc2570ede82b38d9058ebb37c285 /src/KeyMap.h | |
parent | d4209eb2e6569401acb4f4bd02e3b00c92159511 (diff) | |
download | scintilla-mirror-fa93bd28150e92b485ef6f094fda8a1ba5a5ed65.tar.gz |
Backport: Declare KeyMap::Clear() noexcept as called in destructor.
Backport of changeset 7481:392990fdc714.
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 6f30abf00..539b5e99a 100644 --- a/src/KeyMap.h +++ b/src/KeyMap.h @@ -53,7 +53,7 @@ class KeyMap { public: KeyMap(); ~KeyMap(); - void Clear(); + 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; |