From d8baf57d46539da9edba5952f73089bf9a54bdaf Mon Sep 17 00:00:00 2001 From: hop311 Date: Thu, 18 Jul 2024 23:25:38 +0100 Subject: Unit position/country/leader handling + more use of unit branch templates --- src/openvic-simulation/military/Leader.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/openvic-simulation/military/Leader.hpp') diff --git a/src/openvic-simulation/military/Leader.hpp b/src/openvic-simulation/military/Leader.hpp index 3f8603e..8a272e7 100644 --- a/src/openvic-simulation/military/Leader.hpp +++ b/src/openvic-simulation/military/Leader.hpp @@ -37,7 +37,7 @@ namespace OpenVic { LeaderBase(LeaderBase&&) = default; }; - struct CountryInstance; + struct UnitInstanceManager; template struct UnitInstanceGroup; @@ -48,7 +48,7 @@ namespace OpenVic { template struct LeaderBranched : LeaderBase { - friend struct CountryInstance; + friend struct UnitInstanceManager; friend bool UnitInstanceGroup::set_leader(LeaderBranched* new_leader); private: -- cgit v1.2.3-56-ga3b1