aboutsummaryrefslogtreecommitdiff
path: root/src/server/authserver/Server/BattlenetPackets.cpp
diff options
context:
space:
mode:
authorVincent-Michael <Vincent_Michael@gmx.de>2014-07-20 04:22:20 +0200
committerVincent-Michael <Vincent_Michael@gmx.de>2014-07-20 04:22:20 +0200
commite108478d623e0a54708ab6ce740492062d8abf5b (patch)
tree7f2a50948b3725b54fb155b44a5b75e2ba5534d3 /src/server/authserver/Server/BattlenetPackets.cpp
parente68d3b0937e205c94c17d7cb1a53194b6d169fe8 (diff)
Core: Fix non build (gcc)
Diffstat (limited to 'src/server/authserver/Server/BattlenetPackets.cpp')
-rw-r--r--src/server/authserver/Server/BattlenetPackets.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/authserver/Server/BattlenetPackets.cpp b/src/server/authserver/Server/BattlenetPackets.cpp
index 25a2c6cd9a5..8b3ba06ef0d 100644
--- a/src/server/authserver/Server/BattlenetPackets.cpp
+++ b/src/server/authserver/Server/BattlenetPackets.cpp
@@ -438,7 +438,7 @@ void Battlenet::RealmJoinResult::Write()
}
_stream.Write(IPv4.size(), 5);
- for (ip::tcp::endpoint const& addr : IPv4)
+ for (tcp::endpoint const& addr : IPv4)
{
boost::asio::ip::address_v4::bytes_type ip = addr.address().to_v4().to_bytes();
uint16 port = addr.port();
@@ -454,10 +454,10 @@ std::string Battlenet::RealmJoinResult::ToString() const
{
std::ostringstream stream;
stream << "Battlenet::RealmJoinResult ServerSeed " << ServerSeed << " IPv4 Addresses " << IPv4.size() << " IPv6 Addresses " << IPv6.size();
- for (ip::tcp::endpoint const& addr : IPv4)
+ for (tcp::endpoint const& addr : IPv4)
stream << std::endl << "Battlenet::RealmJoinResult::Address " << boost::lexical_cast<std::string>(addr);
- for (ip::tcp::endpoint const& addr : IPv6)
+ for (tcp::endpoint const& addr : IPv6)
stream << std::endl << "Battlenet::RealmJoinResult::Address " << boost::lexical_cast<std::string>(addr);
return stream.str().c_str();