diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-11-25 11:55:56 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-25 11:55:56 +0000 |
commit | 58eee175b58d062f0ac3ea24eb7d02c627e8fd0f (patch) | |
tree | ccf1f7f6957b415c0d1e661e466d7adc61d5fb7c /sdext/source/presenter/PresenterTimer.cxx | |
parent | b9c0431c4abd78fd35006d0972964360bbf6985a (diff) |
cppcheck: methods can be const
Diffstat (limited to 'sdext/source/presenter/PresenterTimer.cxx')
-rw-r--r-- | sdext/source/presenter/PresenterTimer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sdext/source/presenter/PresenterTimer.cxx b/sdext/source/presenter/PresenterTimer.cxx index 8841d8234bd4..f4a5618353c9 100644 --- a/sdext/source/presenter/PresenterTimer.cxx +++ b/sdext/source/presenter/PresenterTimer.cxx @@ -68,7 +68,7 @@ typedef ::boost::shared_ptr<TimerTask> SharedTimerTask; class TimerTaskComparator { public: - bool operator() (const SharedTimerTask& rpTask1, const SharedTimerTask& rpTask2) + bool operator() (const SharedTimerTask& rpTask1, const SharedTimerTask& rpTask2) const { return rpTask1->maDueTime.Seconds < rpTask2->maDueTime.Seconds || (rpTask1->maDueTime.Seconds == rpTask2->maDueTime.Seconds |