Fix struct SpriteInfo comparator not being marked const
This commit is contained in:
@@ -667,7 +667,7 @@ static void DeleteEntriesFromSpriteCache(size_t target)
|
||||
SpriteID id;
|
||||
uint32 size;
|
||||
|
||||
bool operator<(const SpriteInfo &other)
|
||||
bool operator<(const SpriteInfo &other) const
|
||||
{
|
||||
return this->lru < other.lru;
|
||||
}
|
||||
|
Reference in New Issue
Block a user