From fbbcc3167053950d2000cd88bb7d98266491768f Mon Sep 17 00:00:00 2001 From: Shauren Date: Fri, 11 Jul 2025 17:47:14 +0200 Subject: Core/Misc: Simplify LinkedListHead::isEmpty and rename to empty to fit standard container naming --- .../Outland/CoilfangReservoir/SerpentShrine/boss_lurker_below.cpp | 2 +- .../Outland/CoilfangReservoir/SerpentShrine/instance_serpent_shrine.cpp | 2 +- .../scripts/Outland/CoilfangReservoir/TheSlavePens/boss_ahune.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/server/scripts/Outland') diff --git a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lurker_below.cpp b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lurker_below.cpp index 3cace29b372..c9dcbc761e5 100644 --- a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lurker_below.cpp +++ b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lurker_below.cpp @@ -249,7 +249,7 @@ struct boss_the_lurker_below : public BossAI { InRange = false; Map::PlayerList const& PlayerList = me->GetMap()->GetPlayers(); - if (!PlayerList.isEmpty()) + if (!PlayerList.empty()) { for (Map::PlayerList::const_iterator i = PlayerList.begin(); i != PlayerList.end(); ++i) { diff --git a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/instance_serpent_shrine.cpp b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/instance_serpent_shrine.cpp index 39eb7914045..a6f374e9dca 100644 --- a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/instance_serpent_shrine.cpp +++ b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/instance_serpent_shrine.cpp @@ -133,7 +133,7 @@ class instance_serpent_shrine : public InstanceMapScript Water = WATERSTATE_FRENZY; Map::PlayerList const& PlayerList = instance->GetPlayers(); - if (PlayerList.isEmpty()) + if (PlayerList.empty()) return; for (Map::PlayerList::const_iterator i = PlayerList.begin(); i != PlayerList.end(); ++i) { diff --git a/src/server/scripts/Outland/CoilfangReservoir/TheSlavePens/boss_ahune.cpp b/src/server/scripts/Outland/CoilfangReservoir/TheSlavePens/boss_ahune.cpp index e384bb3a078..3912f905075 100644 --- a/src/server/scripts/Outland/CoilfangReservoir/TheSlavePens/boss_ahune.cpp +++ b/src/server/scripts/Outland/CoilfangReservoir/TheSlavePens/boss_ahune.cpp @@ -203,7 +203,7 @@ struct boss_ahune : public BossAI Unit::Kill(me, frozenCore); Map::PlayerList const& players = me->GetMap()->GetPlayers(); - if (!players.isEmpty()) + if (!players.empty()) { if (Group* group = players.begin()->GetSource()->GetGroup()) if (group->isLFGGroup()) -- cgit v1.2.3