diff options
author | hop311 <hop3114@gmail.com> | 2024-07-19 00:25:38 +0200 |
---|---|---|
committer | hop311 <hop3114@gmail.com> | 2024-07-19 00:26:27 +0200 |
commit | d8baf57d46539da9edba5952f73089bf9a54bdaf (patch) | |
tree | 6d2de5221d2b1945a065e0abba8198d8a052a92a /src/openvic-simulation/military/Leader.hpp | |
parent | a673f89bb2705826b1c646365eab1775727372b7 (diff) |
Unit position/country/leader handling + more use of unit branch templatesunit-work
Diffstat (limited to 'src/openvic-simulation/military/Leader.hpp')
-rw-r--r-- | src/openvic-simulation/military/Leader.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<UnitType::branch_t> struct UnitInstanceGroup; @@ -48,7 +48,7 @@ namespace OpenVic { template<UnitType::branch_t Branch> struct LeaderBranched : LeaderBase { - friend struct CountryInstance; + friend struct UnitInstanceManager; friend bool UnitInstanceGroup<Branch>::set_leader(LeaderBranched<Branch>* new_leader); private: |