summaryrefslogtreecommitdiffstats
path: root/src/ChunkMap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ChunkMap.h')
-rw-r--r--src/ChunkMap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ChunkMap.h b/src/ChunkMap.h
index 53ec06475..4974671da 100644
--- a/src/ChunkMap.h
+++ b/src/ChunkMap.h
@@ -508,7 +508,7 @@ private:
/** The cChunkStay descendants that are currently enabled in this chunkmap */
cChunkStays m_ChunkStays;
- std::auto_ptr<cAllocationPool<cChunkData::sChunkSection> > m_Pool;
+ std::unique_ptr<cAllocationPool<cChunkData::sChunkSection> > m_Pool;
cChunkPtr GetChunk (int a_ChunkX, int a_ChunkZ); // Also queues the chunk for loading / generating if not valid
cChunkPtr GetChunkNoGen (int a_ChunkX, int a_ChunkZ); // Also queues the chunk for loading if not valid; doesn't generate