1
0

cChunk's deleted copy constructor needs const

This commit is contained in:
Tiger Wang 2020-08-20 18:29:20 +01:00
parent d1b0d0f5b5
commit 03557e978e

View File

@ -66,7 +66,7 @@ public:
cChunkMap * a_ChunkMap, cWorld * a_World, // Parent objects cChunkMap * a_ChunkMap, cWorld * a_World, // Parent objects
cAllocationPool<cChunkData::sChunkSection> & a_Pool cAllocationPool<cChunkData::sChunkSection> & a_Pool
); );
cChunk(cChunk & other) = delete; cChunk(const cChunk & Other) = delete;
~cChunk(); ~cChunk();
/** Returns true iff the chunk block data is valid (loaded / generated) */ /** Returns true iff the chunk block data is valid (loaded / generated) */