Core/Misc: Simplify LinkedListHead::isEmpty and rename to empty to fit standard container naming

This commit is contained in:
Shauren
2025-07-11 17:47:14 +02:00
parent cbb532e4be
commit fbbcc31670
17 changed files with 34 additions and 38 deletions

View File

@@ -232,7 +232,7 @@ void PersonalPhaseGridLoader::Load(uint32 phaseId)
template<class T>
void ObjectGridUnloader::Visit(GridRefManager<T> &m)
{
while (!m.isEmpty())
while (!m.empty())
{
T *obj = m.getFirst()->GetSource();
//Some creatures may summon other temp summons in CleanupsBeforeDelete()