From d353abf5aa72ae7ab7a0d28b9ecc47b923e0aa70 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 25 Nov 2010 11:57:37 +0000 Subject: cppcheck: methods can be const --- shell/source/unix/sysshell/recently_used_file_handler.cxx | 4 ++-- 1 file 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_; }; -- cgit