diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-11-25 11:57:37 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-25 16:01:06 +0000 |
commit | d353abf5aa72ae7ab7a0d28b9ecc47b923e0aa70 (patch) | |
tree | 0fb2da739909cc7e4e875c1ff7f70bb16ab39b99 /shell | |
parent | 5172e9eab4513b192f31232b08cde1d121329c36 (diff) |
cppcheck: methods can be const
Diffstat (limited to 'shell')
-rw-r--r-- | shell/source/unix/sysshell/recently_used_file_handler.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/source/unix/sysshell/recently_used_file_handler.cxx b/shell/source/unix/sysshell/recently_used_file_handler.cxx index a90eca8c4cb1..1ef8c621dd3b 100644 --- a/shell/source/unix/sysshell/recently_used_file_handler.cxx +++ b/shell/source/unix/sysshell/recently_used_file_handler.cxx @@ -396,8 +396,8 @@ namespace /* private */ { uri_(uri) {} - bool operator() (const recently_used_item* item) - { return (item->uri_ == uri_); } + bool operator() (const recently_used_item* item) const + { return (item->uri_ == uri_); } private: string_t uri_; }; |