diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2016-12-20 11:01:17 -0500 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2016-12-20 11:01:17 -0500 |
commit | bcb4f2900bba09412e2f3f29ae7b343b6b89dfb3 (patch) | |
tree | 8cf63dbfc9ec95a6265a0059d9e7197c7bd94f5b /indra/newview/llsearchhistory.h | |
parent | 65cf4912f6e566fdb3e6f835cc0f45dbb3351304 (diff) |
DRTVWR-418: operator comparison methods should be const.
clang has started to reject our non-const comparison operator methods used
within standard algorithms.
Diffstat (limited to 'indra/newview/llsearchhistory.h')
-rw-r--r-- | indra/newview/llsearchhistory.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/llsearchhistory.h b/indra/newview/llsearchhistory.h index 3309a8fcac..7fe2aa2737 100644 --- a/indra/newview/llsearchhistory.h +++ b/indra/newview/llsearchhistory.h @@ -98,16 +98,16 @@ public: /** * Allows std::list sorting */ - bool operator < (const LLSearchHistory::LLSearchHistoryItem& right); + bool operator < (const LLSearchHistory::LLSearchHistoryItem& right) const; /** * Allows std::list sorting */ - bool operator > (const LLSearchHistory::LLSearchHistoryItem& right); + bool operator > (const LLSearchHistory::LLSearchHistoryItem& right) const; - bool operator==(const LLSearchHistoryItem& right); + bool operator==(const LLSearchHistoryItem& right) const; - bool operator==(const std::string& right); + bool operator==(const std::string& right) const; /** * Serializes search history item to LLSD |