From 6a542f10f35a7f6182335250ac6fb25dbd230cac Mon Sep 17 00:00:00 2001 From: Neil Date: Sun, 28 Apr 2019 09:37:22 +1000 Subject: Declare reading methods as noexcept where reasonable. --- src/KeyMap.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/KeyMap.cxx') 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 &KeyMap::GetKeyMap() const { +const std::map &KeyMap::GetKeyMap() const noexcept { return kmap; } -- cgit v1.2.3