summaryrefslogtreecommitdiffstats
path: root/src/ChunkData.h
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-06-14 20:54:09 +0200
committerTycho <work.tycho+git@gmail.com>2014-06-14 20:54:09 +0200
commit3efbdb1c9b8f83ecb28992282c08aa065e21e1f8 (patch)
treed07053c96a5f1e4aecbe732b6fad1d95fc8bfd9b /src/ChunkData.h
parentAdded generic Allocation Pool Interface (diff)
downloadcuberite-3efbdb1c9b8f83ecb28992282c08aa065e21e1f8.tar
cuberite-3efbdb1c9b8f83ecb28992282c08aa065e21e1f8.tar.gz
cuberite-3efbdb1c9b8f83ecb28992282c08aa065e21e1f8.tar.bz2
cuberite-3efbdb1c9b8f83ecb28992282c08aa065e21e1f8.tar.lz
cuberite-3efbdb1c9b8f83ecb28992282c08aa065e21e1f8.tar.xz
cuberite-3efbdb1c9b8f83ecb28992282c08aa065e21e1f8.tar.zst
cuberite-3efbdb1c9b8f83ecb28992282c08aa065e21e1f8.zip
Diffstat (limited to '')
-rw-r--r--src/ChunkData.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ChunkData.h b/src/ChunkData.h
index e3b36c581..fe8b068a2 100644
--- a/src/ChunkData.h
+++ b/src/ChunkData.h
@@ -111,6 +111,8 @@ private:
#endif
sChunkSection * m_Sections[NumSections];
+
+ cAllocationPool<cChunkData::sChunkSection> & m_Pool;
/** Allocates a new section. Entry-point to custom allocators. */
sChunkSection * Allocate(void);
@@ -122,7 +124,6 @@ private:
/** Sets the data in the specified section to their default values. */
void ZeroSection(sChunkSection * a_Section) const;
- cAllocationPool<cChunkData::sChunkSection> & m_Pool;
};