Fix struct SpriteInfo comparator not being marked const

pull/73/head
Jonathan G Rennison 6 years ago
parent ce4e2ca3c3
commit 6f9f467dbe

@ -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;
}

Loading…
Cancel
Save