From 7d512f21913b3ed7dee2a025fdc1dea77a08d83b Mon Sep 17 00:00:00 2001 From: peterbell10 Date: Tue, 19 Feb 2019 10:22:08 +0000 Subject: Limit the size of cListAllocationPool's free list --- src/SetChunkData.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/SetChunkData.cpp') diff --git a/src/SetChunkData.cpp b/src/SetChunkData.cpp index 60a27d43a..19448147a 100644 --- a/src/SetChunkData.cpp +++ b/src/SetChunkData.cpp @@ -26,7 +26,7 @@ struct sMemCallbacks: cSetChunkData::cSetChunkData(int a_ChunkX, int a_ChunkZ, bool a_ShouldMarkDirty) : m_ChunkX(a_ChunkX), m_ChunkZ(a_ChunkZ), - m_Pool(cpp14::make_unique(), cChunkData::NumSections), + m_Pool(cpp14::make_unique(), 0u, cChunkData::NumSections), m_ChunkData(m_Pool), m_IsLightValid(false), m_IsHeightMapValid(false), -- cgit v1.2.3