summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2021-06-29 00:28:58 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2021-07-06 22:33:03 +0200
commitbab5794f7693e4b8e2c063cde9f02ea5156aa939 (patch)
tree78992aca3eed79f24ac8b6cfe1771dd5e3d529c3
parentProtocol: call the encryptor once before sending data (diff)
downloadcuberite-bab5794f7693e4b8e2c063cde9f02ea5156aa939.tar
cuberite-bab5794f7693e4b8e2c063cde9f02ea5156aa939.tar.gz
cuberite-bab5794f7693e4b8e2c063cde9f02ea5156aa939.tar.bz2
cuberite-bab5794f7693e4b8e2c063cde9f02ea5156aa939.tar.lz
cuberite-bab5794f7693e4b8e2c063cde9f02ea5156aa939.tar.xz
cuberite-bab5794f7693e4b8e2c063cde9f02ea5156aa939.tar.zst
cuberite-bab5794f7693e4b8e2c063cde9f02ea5156aa939.zip
Diffstat (limited to '')
-rw-r--r--src/Chunk.h2
-rw-r--r--src/ChunkMap.h1
-rw-r--r--src/Server.cpp6
3 files changed, 0 insertions, 9 deletions
diff --git a/src/Chunk.h b/src/Chunk.h
index 92e46cf5c..176f111ed 100644
--- a/src/Chunk.h
+++ b/src/Chunk.h
@@ -28,8 +28,6 @@ class cRedstoneSimulatorChunkData;
struct SetChunkData;
-typedef std::list<cClientHandle *> cClientHandleList;
-
// A convenience macro for calling GetChunkAndRelByAbsolute.
#define PREPARE_REL_AND_CHUNK(Position, OriginalChunk) cChunk * Chunk; Vector3i Rel; bool RelSuccess = (OriginalChunk).GetChunkAndRelByAbsolute(Position, &Chunk, Rel)
diff --git a/src/ChunkMap.h b/src/ChunkMap.h
index b3cc5f615..611f08cc9 100644
--- a/src/ChunkMap.h
+++ b/src/ChunkMap.h
@@ -26,7 +26,6 @@ class cDeadlockDetect;
struct SetChunkData;
-typedef std::list<cClientHandle *> cClientHandleList;
using cChunkCallback = cFunctionRef<bool(cChunk &)>;
using cEntityCallback = cFunctionRef<bool(cEntity &)>;
using cBlockEntityCallback = cFunctionRef<bool(cBlockEntity &)>;
diff --git a/src/Server.cpp b/src/Server.cpp
index ae0df7544..f70c0d092 100644
--- a/src/Server.cpp
+++ b/src/Server.cpp
@@ -28,12 +28,6 @@
-typedef std::list< cClientHandle* > ClientList;
-
-
-
-
-
////////////////////////////////////////////////////////////////////////////////
// cServerListenCallbacks: