mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 09:44:45 +01:00
Update Socket.h
Added missing typename keyword
This commit is contained in:
@@ -34,7 +34,7 @@ using boost::asio::ip::tcp;
|
||||
template<class T, class PacketType>
|
||||
class Socket : public std::enable_shared_from_this<T>
|
||||
{
|
||||
typedef std::conditional<std::is_pointer<PacketType>::value, PacketType, PacketType const&>::type WritePacketType;
|
||||
typedef typename std::conditional<std::is_pointer<PacketType>::value, PacketType, PacketType const&>::type WritePacketType;
|
||||
|
||||
public:
|
||||
Socket(tcp::socket&& socket, std::size_t headerSize) : _socket(std::move(socket)), _headerSize(headerSize) { }
|
||||
|
||||
Reference in New Issue
Block a user