diff options
author | Neil <nyamatongwe@gmail.com> | 2019-04-28 09:37:22 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2019-04-28 09:37:22 +1000 |
commit | 6a542f10f35a7f6182335250ac6fb25dbd230cac (patch) | |
tree | 8579d35a88cfbb6c8644fc938176c22058e85561 /src/KeyMap.cxx | |
parent | 8be8298fd9fadccef7caa8cc4232f53a2f4b91fb (diff) | |
download | scintilla-mirror-6a542f10f35a7f6182335250ac6fb25dbd230cac.tar.gz |
Declare reading methods as noexcept where reasonable.
Diffstat (limited to 'src/KeyMap.cxx')
-rw-r--r-- | src/KeyMap.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/KeyMap.cxx b/src/KeyMap.cxx index 1f9a157fb..1e873dbfc 100644 --- a/src/KeyMap.cxx +++ b/src/KeyMap.cxx @@ -46,7 +46,7 @@ unsigned int KeyMap::Find(int key, int modifiers) const { return (it == kmap.end()) ? 0 : it->second; } -const std::map<KeyModifiers, unsigned int> &KeyMap::GetKeyMap() const { +const std::map<KeyModifiers, unsigned int> &KeyMap::GetKeyMap() const noexcept { return kmap; } |