summaryrefslogtreecommitdiffstats
path: root/src/ChunkMap.h
diff options
context:
space:
mode:
authorJulian Laubstein <julianlaubstein@yahoo.de>2015-08-14 22:19:15 +0200
committerMattes D <github@xoft.cz>2015-08-18 08:49:00 +0200
commitdd5201c29e4a9a889a70c81fa7a82bf0c8615d65 (patch)
treeb14ae581e0680c303466781cc356c2399a6c7990 /src/ChunkMap.h
parentMerge pull request #2436 from cuberite/UpdateCompileScript (diff)
downloadcuberite-dd5201c29e4a9a889a70c81fa7a82bf0c8615d65.tar
cuberite-dd5201c29e4a9a889a70c81fa7a82bf0c8615d65.tar.gz
cuberite-dd5201c29e4a9a889a70c81fa7a82bf0c8615d65.tar.bz2
cuberite-dd5201c29e4a9a889a70c81fa7a82bf0c8615d65.tar.lz
cuberite-dd5201c29e4a9a889a70c81fa7a82bf0c8615d65.tar.xz
cuberite-dd5201c29e4a9a889a70c81fa7a82bf0c8615d65.tar.zst
cuberite-dd5201c29e4a9a889a70c81fa7a82bf0c8615d65.zip
Diffstat (limited to '')
-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