refactor: use of unique_ptr instead of new
This commit is contained in:
@@ -27,7 +27,7 @@ public:
|
||||
|
||||
network::Socket::Status getSocketStatus() const { return m_Socket.GetStatus(); }
|
||||
|
||||
void sendPacket(protocol::Packet* packet);
|
||||
void sendPacket(const protocol::Packet* packet);
|
||||
|
||||
REMOVE_COPY(Connexion);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user