unique_ptr for sockets

This commit is contained in:
Benjamin Sergeant committed 2020-03-24 12:48:55 -07:00
1 parent 9f818c7acf
commit 179e17895d
25 files changed
+54 -51

No files matched your search

+1 -1
View File
@@ -113,7 +113,7 @@ namespace ix
static void invokeTrafficTrackerCallback(size_t size, bool incoming);
// Server
WebSocketInitResult connectToSocket(std::shared_ptr<Socket>, int timeoutSecs);
WebSocketInitResult connectToSocket(std::unique_ptr<Socket>, int timeoutSecs);
WebSocketTransport _ws;