summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2016-12-16 19:14:55 -0500
committerNat Goodspeed <nat@lindenlab.com>2016-12-16 19:14:55 -0500
commit050294a23cffe41ca59581d4b73c881d484c8f5a (patch)
tree0eaa5480fc469727469984b0556dc0ab33f5e670 /indra
parentc1ae63a872a90c234437bfc6f114964a65a1a562 (diff)
DRTVWR-418: Fix a (correct) clang correctness complaint.
LLStatGraph::Threshold has an operator<(const Threshold& other) -- but because the method itself wasn't marked const, it could only be used on a non-const instance. This change fixes a case when it was applied to const instances.
Diffstat (limited to 'indra')
-rw-r--r--indra/llui/llstatgraph.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llstatgraph.h b/indra/llui/llstatgraph.h
index f381e92a4d..ba7cfc5d10 100644
--- a/indra/llui/llstatgraph.h
+++ b/indra/llui/llstatgraph.h
@@ -126,7 +126,7 @@ private:
F32 mValue;
LLUIColor mColor;
- bool operator <(const Threshold& other)
+ bool operator <(const Threshold& other) const
{
return mValue < other.mValue;
}