diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2018-03-31 10:59:39 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2018-03-31 10:59:39 -0400 |
commit | f82548b931af69a08d53818ec7a96a967c05151c (patch) | |
tree | 0fc3a30c91fd585e906d6b903c08fe996e24095a /indra/newview/lltextureview.cpp | |
parent | f8c76535a35aaf245e261357a59e977bac5b2501 (diff) |
MAINT-8474: Xcode 9.3 insists that comparators use const operator().
Diffstat (limited to 'indra/newview/lltextureview.cpp')
-rw-r--r-- | indra/newview/lltextureview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lltextureview.cpp b/indra/newview/lltextureview.cpp index b7786bcdd7..6da13da58c 100644 --- a/indra/newview/lltextureview.cpp +++ b/indra/newview/lltextureview.cpp @@ -736,7 +736,7 @@ LLTextureView::~LLTextureView() typedef std::pair<F32,LLViewerFetchedTexture*> 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; } |