diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-05-20 20:59:46 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2020-07-26 19:57:48 +0200 |
commit | 072fdf348826db6bc75207540c55e8e275227516 (patch) | |
tree | 433cf29095b8796dd737790fa0be693b1b836613 /src/OSSupport/TCPLinkImpl.cpp | |
parent | 1.14 connection support (diff) | |
download | cuberite-SeeBackup.tar cuberite-SeeBackup.tar.gz cuberite-SeeBackup.tar.bz2 cuberite-SeeBackup.tar.lz cuberite-SeeBackup.tar.xz cuberite-SeeBackup.tar.zst cuberite-SeeBackup.zip |
Diffstat (limited to '')
-rw-r--r-- | src/OSSupport/TCPLinkImpl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<cHostnameCallback>(res, a_Port)); + cNetwork::HostnameToIP(a_Host, std::make_unique<cHostnameCallback>(res, a_Port)); return res; } |