mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-09 17:49:01 +00:00
NetPlayServer: Make SendAsyncToClients use an unique_ptr
This commit is contained in:
parent
34ae512d91
commit
8ce9191948
2 changed files with 13 additions and 13 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue