aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/KeyMap.cxx
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.cxx
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.cxx')
-rw-r--r--src/KeyMap.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/KeyMap.cxx b/src/KeyMap.cxx
index 42982b4f7..7171e3318 100644
--- a/src/KeyMap.cxx
+++ b/src/KeyMap.cxx
@@ -32,7 +32,7 @@ KeyMap::~KeyMap() {
Clear();
}
-void KeyMap::Clear() {
+void KeyMap::Clear() noexcept {
kmap.clear();
}