From 072fdf348826db6bc75207540c55e8e275227516 Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Wed, 20 May 2020 19:59:46 +0100 Subject: PoC: C++ ASIO --- src/OSSupport/TCPLinkImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/OSSupport/TCPLinkImpl.cpp') diff --git a/src/OSSupport/TCPLinkImpl.cpp b/src/OSSupport/TCPLinkImpl.cpp index c93a1879d..6b8c7f677 100644 --- a/src/OSSupport/TCPLinkImpl.cpp +++ b/src/OSSupport/TCPLinkImpl.cpp @@ -138,7 +138,7 @@ cTCPLinkImplPtr cTCPLinkImpl::Connect(const AString & a_Host, UInt16 a_Port, cTC }; // Schedule the host query - cNetwork::HostnameToIP(a_Host, std::make_shared(res, a_Port)); + cNetwork::HostnameToIP(a_Host, std::make_unique(res, a_Port)); return res; } -- cgit v1.2.3