diff options
Diffstat (limited to 'src/ChunkMap.cpp')
-rw-r--r-- | src/ChunkMap.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ChunkMap.cpp b/src/ChunkMap.cpp index 770d34b5a..607fd0081 100644 --- a/src/ChunkMap.cpp +++ b/src/ChunkMap.cpp @@ -38,10 +38,8 @@ cChunkMap::cChunkMap(cWorld * a_World) : m_World(a_World), m_Pool( - new cListAllocationPool<cChunkData::sChunkSection, 1600>( - std::unique_ptr<cAllocationPool<cChunkData::sChunkSection>::cStarvationCallbacks>( - new cStarvationCallbacks() - ) + cpp14::make_unique<cListAllocationPool<cChunkData::sChunkSection>>( + cpp14::make_unique<cStarvationCallbacks>(), 1600u ) ) { |