Core/Misc: Rename LinkedListHead::getSize to size to fit standard container naming

This commit is contained in:
Shauren
2025-07-11 17:51:49 +02:00
parent fbbcc31670
commit f4c0ede726
8 changed files with 8 additions and 8 deletions

View File

@@ -411,7 +411,7 @@ uint32 MapManager::GetNumInstances() const
uint32 MapManager::GetNumPlayersInInstances() const
{
std::shared_lock<std::shared_mutex> lock(_mapsLock);
return std::accumulate(i_maps.begin(), i_maps.end(), 0u, [](uint32 total, MapMapType::value_type const& value) { return total + (value.second->IsDungeon() ? value.second->GetPlayers().getSize() : 0); });
return std::accumulate(i_maps.begin(), i_maps.end(), 0u, [](uint32 total, MapMapType::value_type const& value) { return total + (value.second->IsDungeon() ? value.second->GetPlayers().size() : 0); });
}
void MapManager::InitInstanceIds()