summaryrefslogtreecommitdiffstats
path: root/src/ChunkDataCallback.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ChunkDataCallback.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ChunkDataCallback.h b/src/ChunkDataCallback.h
index 2bf554b74..ec8e1180f 100644
--- a/src/ChunkDataCallback.h
+++ b/src/ChunkDataCallback.h
@@ -115,13 +115,13 @@ public:
};
cChunkDataCopyCollector():
- m_Pool(cpp14::make_unique<MemCallbacks>()),
+ m_Pool(cpp14::make_unique<MemCallbacks>(), cChunkData::NumSections), // Keep 1 chunk worth of reserve
m_Data(m_Pool)
{
}
- cListAllocationPool<cChunkData::sChunkSection, cChunkData::NumSections> m_Pool; // Keep 1 chunk worth of reserve
+ cListAllocationPool<cChunkData::sChunkSection> m_Pool;
cChunkData m_Data;
protected: