mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Misc: Rename LinkedListHead::getSize to size to fit standard container naming
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user