Fix struct SpriteInfo comparator not being marked const

This commit is contained in:
Jonathan G Rennison
2018-09-12 08:46:29 +01:00
parent ce4e2ca3c3
commit 6f9f467dbe

View File

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