From a62e4cd6be774fe93835f5b2657142dbda8186f3 Mon Sep 17 00:00:00 2001 From: Neil Date: Sun, 28 Apr 2019 09:37:22 +1000 Subject: Backport: Declare reading methods as noexcept where reasonable. Backport of changeset 7482:340b721ecdf4. --- 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 7171e3318..8dc4feff9 100644 --- a/src/KeyMap.cxx +++ b/src/KeyMap.cxx @@ -45,7 +45,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