From f6d85732210dc0fb7ceb59112fc9e2e322aa90ee Mon Sep 17 00:00:00 2001 From: Router Gray Date: Fri, 24 May 2019 10:57:33 -0500 Subject: [PATCH] "Liru: All getters should be const, ideally." Clang agrees. The values being compared are const, the result should be too. --- indra/newview/lltextureview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/lltextureview.cpp b/indra/newview/lltextureview.cpp index 47e473643..c2f924bc0 100644 --- a/indra/newview/lltextureview.cpp +++ b/indra/newview/lltextureview.cpp @@ -829,7 +829,7 @@ LLTextureView::~LLTextureView() typedef std::pair decode_pair_t; struct compare_decode_pair { - bool operator()(const decode_pair_t& a, const decode_pair_t& b) + bool operator()(const decode_pair_t& a, const decode_pair_t& b) const { return a.first > b.first; }