diff --git a/src/server/shared/Networking/Socket.h b/src/server/shared/Networking/Socket.h index d9d03b8bbd9..38d88e3592c 100644 --- a/src/server/shared/Networking/Socket.h +++ b/src/server/shared/Networking/Socket.h @@ -34,7 +34,7 @@ using boost::asio::ip::tcp; template class Socket : public std::enable_shared_from_this { - typedef std::conditional::value, PacketType, PacketType const&>::type WritePacketType; + typedef typename std::conditional::value, PacketType, PacketType const&>::type WritePacketType; public: Socket(tcp::socket&& socket, std::size_t headerSize) : _socket(std::move(socket)), _headerSize(headerSize) { }