diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-11-25 11:10:48 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-25 11:10:48 +0000 |
commit | 430ef4696201f34414d6277c434a1f29af26cce9 (patch) | |
tree | ebd4070100b95e1627776689704151f3b6b7bd7f /slideshow/source/engine/tools.cxx | |
parent | f4a63cdbc7c70c72baa45afdddce041809538f69 (diff) |
cppcheck: methods can be const
Diffstat (limited to 'slideshow/source/engine/tools.cxx')
-rw-r--r-- | slideshow/source/engine/tools.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/slideshow/source/engine/tools.cxx b/slideshow/source/engine/tools.cxx index 85b2e0323aab..f49226761faa 100644 --- a/slideshow/source/engine/tools.cxx +++ b/slideshow/source/engine/tools.cxx @@ -77,7 +77,7 @@ namespace slideshow { } - bool operator()( const beans::NamedValue& rValue ) + bool operator()( const beans::NamedValue& rValue ) const { return rValue.Name == mrSearchString; } @@ -94,7 +94,7 @@ namespace slideshow { } - bool operator()( const beans::NamedValue& rValue ) + bool operator()( const beans::NamedValue& rValue ) const { return rValue.Name == mrKey.Name && rValue.Value == mrKey.Value; } |