From 43966e8e00f293032dffff12b2b1a7c707256ca4 Mon Sep 17 00:00:00 2001 From: Jan Date: Fri, 12 Mar 2021 10:57:31 +0100 Subject: [PATCH] Remove unused xblocks vector in Zone --- src/ZoneCommon/Zone/Zone.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ZoneCommon/Zone/Zone.h b/src/ZoneCommon/Zone/Zone.h index 0d14c6d2..425a113a 100644 --- a/src/ZoneCommon/Zone/Zone.h +++ b/src/ZoneCommon/Zone/Zone.h @@ -8,7 +8,6 @@ #include "Pool/ZoneAssetPools.h" #include "Game/IGame.h" #include "Game/GameLanguage.h" -#include "Zone/XBlock.h" #include "ZoneMemory.h" class IGame; @@ -16,7 +15,6 @@ class ZoneAssetPools; class Zone { - std::vector m_blocks; std::unique_ptr m_memory; bool m_registered; @@ -31,6 +29,10 @@ public: Zone(std::string name, zone_priority_t priority, IGame* game); ~Zone(); + Zone(const Zone& other) = delete; + Zone(Zone&& other) noexcept = default; + Zone& operator=(const Zone& other) = delete; + Zone& operator=(Zone&& other) noexcept = default; void Register();