summaryrefslogtreecommitdiffstats
path: root/src/ChunkDef.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2021-03-28 15:40:57 +0200
committerGitHub <noreply@github.com>2021-03-28 15:40:57 +0200
commit748b121703fa28b10933f4432c09391e66179118 (patch)
tree58a39b6a75c3e9127507bf3c185a99e546147276 /src/ChunkDef.h
parentFix Windows XP to 7 compatibility (#5167) (diff)
downloadcuberite-748b121703fa28b10933f4432c09391e66179118.tar
cuberite-748b121703fa28b10933f4432c09391e66179118.tar.gz
cuberite-748b121703fa28b10933f4432c09391e66179118.tar.bz2
cuberite-748b121703fa28b10933f4432c09391e66179118.tar.lz
cuberite-748b121703fa28b10933f4432c09391e66179118.tar.xz
cuberite-748b121703fa28b10933f4432c09391e66179118.tar.zst
cuberite-748b121703fa28b10933f4432c09391e66179118.zip
Diffstat (limited to 'src/ChunkDef.h')
-rw-r--r--src/ChunkDef.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/ChunkDef.h b/src/ChunkDef.h
index 9e97d53fc..673ae347a 100644
--- a/src/ChunkDef.h
+++ b/src/ChunkDef.h
@@ -98,33 +98,6 @@ public:
-/** Non-owning view of a chunk's client handles. */
-class cChunkClientHandles
-{
-public:
- using const_iterator = std::vector<cClientHandle *>::const_iterator;
- using iterator = const_iterator;
-
- explicit cChunkClientHandles(const std::vector<cClientHandle *> & a_Container):
- m_Begin(a_Container.cbegin()),
- m_End(a_Container.cend())
- {
- }
-
- const_iterator begin() const { return m_Begin; }
- const_iterator cbegin() const { return m_Begin; }
-
- const_iterator end() const { return m_End; }
- const_iterator cend() const { return m_End; }
-
-private:
- const_iterator m_Begin, m_End;
-};
-
-
-
-
-
/** Constants used throughout the code, useful typedefs and utility functions */
class cChunkDef
{