NetPlayServer: Make SendAsyncToClients use an unique_ptr

This commit is contained in:
mathieui 2016-01-26 21:37:42 +01:00
commit 8ce9191948
2 changed files with 13 additions and 13 deletions

View file

@ -22,7 +22,7 @@ class NetPlayServer : public TraversalClientClient
{
public:
void ThreadFunc();
void SendAsyncToClients(sf::Packet* packet);
void SendAsyncToClients(std::unique_ptr<sf::Packet> packet);
NetPlayServer(const u16 port, bool traversal, const std::string& centralServer, u16 centralPort);
~NetPlayServer();