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 | d8ee330ae492b1a19c4211081edd574ec1603418 (patch) | |
tree | 6c0f7c6a77eeb70dca72c39f1ba07cd62ff3b78f /shell | |
parent | 9bdacf916d64657a318bd08e3c1157bf414b4743 (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 76d7d1e65f..c144dbbda5 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_; }; |