"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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user