aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/KeyMap.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2019-04-28 09:35:43 +1000
committerNeil <nyamatongwe@gmail.com>2019-04-28 09:35:43 +1000
commitfa93bd28150e92b485ef6f094fda8a1ba5a5ed65 (patch)
treed208ee5eedfebc2570ede82b38d9058ebb37c285 /src/KeyMap.h
parentd4209eb2e6569401acb4f4bd02e3b00c92159511 (diff)
downloadscintilla-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.h2
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;