summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/Network.h
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/Network.h
parent1.14 connection support (diff)
downloadcuberite-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/Network.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/OSSupport/Network.h b/src/OSSupport/Network.h
index 8e3f20025..e6432cd15 100644
--- a/src/OSSupport/Network.h
+++ b/src/OSSupport/Network.h
@@ -297,7 +297,7 @@ public:
Only called if there was no error reported. */
virtual void OnFinished(void) = 0;
};
- typedef std::shared_ptr<cResolveNameCallbacks> cResolveNameCallbacksPtr;
+ typedef std::unique_ptr<cResolveNameCallbacks> cResolveNameCallbacksPtr;
/** Queues a TCP connection to be made to the specified host.