From cecd124c0c043ef261256fb9e3f1108cde1265c1 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 24 Oct 2022 09:32:13 +0200 Subject: a --- src/chunk.hpp | 2 ++ src/world.hpp | 1 + 2 files changed, 3 insertions(+) (limited to 'src') diff --git a/src/chunk.hpp b/src/chunk.hpp index d342d9d9..13c9eeb7 100644 --- a/src/chunk.hpp +++ b/src/chunk.hpp @@ -32,7 +32,9 @@ struct chunk final chunk() = default; chunk(chunk&&) = default; chunk& operator=(chunk&&) = default; + fm_DECLARE_DELETED_COPY_ASSIGNMENT(chunk); + fm_DECLARE_DEPRECATED_MOVE_ASSIGNMENT(chunk); private: std::array _tiles = {}; diff --git a/src/world.hpp b/src/world.hpp index 24a77d11..32c7206a 100644 --- a/src/world.hpp +++ b/src/world.hpp @@ -8,6 +8,7 @@ namespace floormat { +// todo remove shared_ptr struct chunk; struct world final -- cgit v1.2.3