Skip to content
Snippets Groups Projects
Commit 050294a2 authored by Nat Goodspeed's avatar Nat Goodspeed
Browse files

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.
parent c1ae63a8
No related branches found
No related tags found
No related merge requests found
...@@ -126,7 +126,7 @@ class LLStatGraph : public LLView ...@@ -126,7 +126,7 @@ class LLStatGraph : public LLView
F32 mValue; F32 mValue;
LLUIColor mColor; LLUIColor mColor;
bool operator <(const Threshold& other) bool operator <(const Threshold& other) const
{ {
return mValue < other.mValue; return mValue < other.mValue;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment