aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Chat
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2023-01-07 22:38:21 +0100
committerShauren <shauren.trinity@gmail.com>2023-01-07 22:38:21 +0100
commit92ed5e8af1f8b1aac085fd9b0ea93afb2b6795d4 (patch)
treef141fe0afd8ff11a7037329ffd75f070d73d6e70 /src/server/game/Chat
parenta53e4a57565d3375a978effbbc32d3eed6aac7e3 (diff)
Core/Misc: Include cleanup, 2023 edition
Diffstat (limited to 'src/server/game/Chat')
-rw-r--r--src/server/game/Chat/Channels/ChannelMgr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Chat/Channels/ChannelMgr.h b/src/server/game/Chat/Channels/ChannelMgr.h
index f8efb4cbb21..6b56fbe7bff 100644
--- a/src/server/game/Chat/Channels/ChannelMgr.h
+++ b/src/server/game/Chat/Channels/ChannelMgr.h
@@ -32,7 +32,7 @@ class TC_GAME_API ChannelMgr
typedef std::unordered_map<ObjectGuid, Channel*> BuiltinChannelContainer;
protected:
- explicit ChannelMgr(uint32 team) : _team(team) { }
+ explicit ChannelMgr(uint32 team) : _team(team), _guidGenerator(HighGuid::ChatChannel) { }
~ChannelMgr();
public:
@@ -57,7 +57,7 @@ class TC_GAME_API ChannelMgr
CustomChannelContainer _customChannels;
BuiltinChannelContainer _channels;
uint32 const _team;
- ObjectGuidGenerator<HighGuid::ChatChannel> _guidGenerator;
+ ObjectGuidGenerator _guidGenerator;
static void SendNotOnChannelNotify(Player const* player, std::string const& name);
ObjectGuid CreateCustomChannelGuid();