summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2017-06-26 09:11:30 +0200
committerGitHub <noreply@github.com>2017-06-26 09:11:30 +0200
commitf6bab71d055ad0e1bf908ffcd79ca4398b07fdc5 (patch)
tree45d75d208a39bea42107b22e31924801c789b509 /src/ClientHandle.h
parentCorrected APIDoc for cBlockArea and exported missing functions (#3808) (diff)
downloadcuberite-f6bab71d055ad0e1bf908ffcd79ca4398b07fdc5.tar
cuberite-f6bab71d055ad0e1bf908ffcd79ca4398b07fdc5.tar.gz
cuberite-f6bab71d055ad0e1bf908ffcd79ca4398b07fdc5.tar.bz2
cuberite-f6bab71d055ad0e1bf908ffcd79ca4398b07fdc5.tar.lz
cuberite-f6bab71d055ad0e1bf908ffcd79ca4398b07fdc5.tar.xz
cuberite-f6bab71d055ad0e1bf908ffcd79ca4398b07fdc5.tar.zst
cuberite-f6bab71d055ad0e1bf908ffcd79ca4398b07fdc5.zip
Diffstat (limited to 'src/ClientHandle.h')
-rw-r--r--src/ClientHandle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ClientHandle.h b/src/ClientHandle.h
index 0b51c50cd..4c37262c2 100644
--- a/src/ClientHandle.h
+++ b/src/ClientHandle.h
@@ -405,7 +405,7 @@ private:
std::unordered_set<cChunkCoords, cChunkCoordsHash> m_ChunksToSend; // Chunks that need to be sent to the player (queued because they weren't generated yet or there's not enough time to send them)
cChunkCoordsList m_SentChunks; // Chunks that are currently sent to the client
- cProtocol * m_Protocol;
+ std::unique_ptr<cProtocol> m_Protocol;
/** Protects m_IncomingData against multithreaded access. */
cCriticalSection m_CSIncomingData;