diff options
author | nyamatongwe <unknown> | 2013-05-24 00:04:54 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2013-05-24 00:04:54 +1000 |
commit | 85237dd55cd67cf9f72a751f5a275a910350e5cd (patch) | |
tree | 6a0072e11ce30bf18130cf7fcc3baa37d5fd92fe /src/KeyMap.cxx | |
parent | d6e875c9b3a507551eb32ca3fff159eb07189fd9 (diff) | |
download | scintilla-mirror-85237dd55cd67cf9f72a751f5a275a910350e5cd.tar.gz |
Made methods const where they can be and are logically const as well.
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 ab8be2f9e..740776104 100644 --- a/src/KeyMap.cxx +++ b/src/KeyMap.cxx @@ -49,7 +49,7 @@ void KeyMap::AssignCmdKey(int key, int modifiers, unsigned int msg) { kmap.push_back(ktc); } -unsigned int KeyMap::Find(int key, int modifiers) { +unsigned int KeyMap::Find(int key, int modifiers) const { for (size_t i = 0; i < kmap.size(); i++) { if ((key == kmap[i].key) && (modifiers == kmap[i].modifiers)) { return kmap[i].msg; |