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/llcommon/llstring.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/llcommon/llstring.h')
-rw-r--r-- | indra/llcommon/llstring.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/llstring.h b/indra/llcommon/llstring.h index a40db0f8cc..2fdb8be84f 100644 --- a/indra/llcommon/llstring.h +++ b/indra/llcommon/llstring.h @@ -443,7 +443,7 @@ public: struct LLDictionaryLess { public: - bool operator()(const std::string& a, const std::string& b) + bool operator()(const std::string& a, const std::string& b) const { return (LLStringUtil::precedesDict(a, b) ? true : false); } |