diff options
author | Mattes D <github@xoft.cz> | 2015-08-18 08:49:39 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-08-18 08:49:39 +0200 |
commit | 5ea1b9cee17d7fb43a2e118b880cbf74cd9772d7 (patch) | |
tree | b14ae581e0680c303466781cc356c2399a6c7990 /src/ChunkMap.h | |
parent | Merge pull request #2436 from cuberite/UpdateCompileScript (diff) | |
parent | Some warning fixes (diff) | |
download | cuberite-5ea1b9cee17d7fb43a2e118b880cbf74cd9772d7.tar cuberite-5ea1b9cee17d7fb43a2e118b880cbf74cd9772d7.tar.gz cuberite-5ea1b9cee17d7fb43a2e118b880cbf74cd9772d7.tar.bz2 cuberite-5ea1b9cee17d7fb43a2e118b880cbf74cd9772d7.tar.lz cuberite-5ea1b9cee17d7fb43a2e118b880cbf74cd9772d7.tar.xz cuberite-5ea1b9cee17d7fb43a2e118b880cbf74cd9772d7.tar.zst cuberite-5ea1b9cee17d7fb43a2e118b880cbf74cd9772d7.zip |
Diffstat (limited to 'src/ChunkMap.h')
-rw-r--r-- | src/ChunkMap.h | 2 |
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 |