diff options
author | Shauren <shauren.trinity@gmail.com> | 2025-02-07 21:14:48 +0100 |
---|---|---|
committer | Ovahlord <dreadkiller@gmx.de> | 2025-02-08 22:06:10 +0100 |
commit | 0cb94ea082a58474d2ea1fa5166372c0bfcec48e (patch) | |
tree | eeec6658c3b6abcfe72a1df39c3ec708f47b2dbf /src | |
parent | c3be7513b3d399074c4b3b27fe9bfddcce673990 (diff) |
Core/Battlegrounds: Fixed invalid reference to temporary
(cherry picked from commit 2fd120da3206a067bc8c9ff88bfbeadc4b6f4641)
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/Battlegrounds/Battleground.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Battlegrounds/Battleground.h b/src/server/game/Battlegrounds/Battleground.h index 1a396c67e70..a51b55f2866 100644 --- a/src/server/game/Battlegrounds/Battleground.h +++ b/src/server/game/Battlegrounds/Battleground.h @@ -442,7 +442,7 @@ class TC_GAME_API Battleground BattlegroundPlayer const* GetBattlegroundPlayerData(ObjectGuid const& playerGuid) const { - auto const& itr = m_Players.find(playerGuid); + auto itr = m_Players.find(playerGuid); if (itr == m_Players.end()) return nullptr; |