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/Network.h | |
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/Network.h | 2 |
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. |