diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-24 09:32:13 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-24 09:32:13 +0200 |
| commit | cecd124c0c043ef261256fb9e3f1108cde1265c1 (patch) | |
| tree | 7fcba9f0904efa254d260feb1fc4eef444dd5339 /src | |
| parent | 203701d221b5f982abf44379ce738f76e0db027a (diff) | |
a
Diffstat (limited to 'src')
| -rw-r--r-- | src/chunk.hpp | 2 | ||||
| -rw-r--r-- | src/world.hpp | 1 |
2 files changed, 3 insertions, 0 deletions
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<tile, TILE_COUNT> _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 |
