"Liru: All getters should be const, ideally." Clang agrees.

The values being compared are const, the result should be too.
This commit is contained in:
Router Gray
2019-05-24 10:57:33 -05:00
parent 562982cc30
commit f6d8573221

View File

@@ -829,7 +829,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;
}