summaryrefslogtreecommitdiff
path: root/indra/llcommon/llstring.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2016-12-20 11:01:17 -0500
committerNat Goodspeed <nat@lindenlab.com>2016-12-20 11:01:17 -0500
commitbcb4f2900bba09412e2f3f29ae7b343b6b89dfb3 (patch)
tree8cf63dbfc9ec95a6265a0059d9e7197c7bd94f5b /indra/llcommon/llstring.h
parent65cf4912f6e566fdb3e6f835cc0f45dbb3351304 (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.h2
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);
}