aboutsummaryrefslogtreecommitdiff
path: root/src/server/ipc/Commands.cpp
diff options
context:
space:
mode:
authorRat <gmstreetrat@gmail.com>2014-12-08 15:33:16 +0100
committerRat <gmstreetrat@gmail.com>2014-12-08 15:33:16 +0100
commit16ff14e758c2d3c5ee1cb9006c67382c251fb926 (patch)
treedbc60cbd8bfabd8a464509e346ae2cc50baeec28 /src/server/ipc/Commands.cpp
parent30e2e04c01b7376d23070f1c9b76d443ece42413 (diff)
parent4825832c85f5ae824c0e099ed5defa516333e00f (diff)
Merge branch 'Spells' of https://github.com/TrinityCore/TrinityCore into Spells
Diffstat (limited to 'src/server/ipc/Commands.cpp')
-rw-r--r--src/server/ipc/Commands.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server/ipc/Commands.cpp b/src/server/ipc/Commands.cpp
index 8e494fc34b9..61b448d3d01 100644
--- a/src/server/ipc/Commands.cpp
+++ b/src/server/ipc/Commands.cpp
@@ -49,14 +49,14 @@ zmqpp::message& operator>>(zmqpp::message& msg, Battlenet::ToonHandle& toonHandl
return msg;
}
-zmqpp::message& operator<<(zmqpp::message& msg, IPCHeader& header)
+zmqpp::message& operator<<(zmqpp::message& msg, IPCHeader const& header)
{
msg << header.Channel;
msg << header.Command;
return msg;
}
-zmqpp::message& operator<<(zmqpp::message& msg, Battlenet::RealmHandle& realm)
+zmqpp::message& operator<<(zmqpp::message& msg, Battlenet::RealmHandle const& realm)
{
msg << realm.Region;
msg << realm.Battlegroup;
@@ -64,14 +64,14 @@ zmqpp::message& operator<<(zmqpp::message& msg, Battlenet::RealmHandle& realm)
return msg;
}
-zmqpp::message& operator<<(zmqpp::message& msg, Battlenet::Header& header)
+zmqpp::message& operator<<(zmqpp::message& msg, Battlenet::Header const& header)
{
msg << header.Ipc;
msg << header.Realm;
return msg;
}
-zmqpp::message& operator<<(zmqpp::message& msg, Battlenet::ToonHandle& toonHandle)
+zmqpp::message& operator<<(zmqpp::message& msg, Battlenet::ToonHandle const& toonHandle)
{
msg << toonHandle.AccountId;
msg << toonHandle.GameAccountId;