summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/TCPLinkImpl.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-05-20 20:59:46 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2020-07-26 19:57:48 +0200
commit072fdf348826db6bc75207540c55e8e275227516 (patch)
tree433cf29095b8796dd737790fa0be693b1b836613 /src/OSSupport/TCPLinkImpl.cpp
parent1.14 connection support (diff)
downloadcuberite-072fdf348826db6bc75207540c55e8e275227516.tar
cuberite-072fdf348826db6bc75207540c55e8e275227516.tar.gz
cuberite-072fdf348826db6bc75207540c55e8e275227516.tar.bz2
cuberite-072fdf348826db6bc75207540c55e8e275227516.tar.lz
cuberite-072fdf348826db6bc75207540c55e8e275227516.tar.xz
cuberite-072fdf348826db6bc75207540c55e8e275227516.tar.zst
cuberite-072fdf348826db6bc75207540c55e8e275227516.zip
Diffstat (limited to '')
-rw-r--r--src/OSSupport/TCPLinkImpl.cpp2
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;
}