From 03557e978e7e3a3a87588cc8eba957ef5e3a6302 Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Thu, 20 Aug 2020 18:29:20 +0100 Subject: cChunk's deleted copy constructor needs const --- src/Chunk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Chunk.h b/src/Chunk.h index 8c236045e..a9b5bb99a 100644 --- a/src/Chunk.h +++ b/src/Chunk.h @@ -66,7 +66,7 @@ public: cChunkMap * a_ChunkMap, cWorld * a_World, // Parent objects cAllocationPool & a_Pool ); - cChunk(cChunk & other) = delete; + cChunk(const cChunk & Other) = delete; ~cChunk(); /** Returns true iff the chunk block data is valid (loaded / generated) */ -- cgit v1.2.3