diff options
author | Hop311 <Hop3114@gmail.com> | 2024-07-19 21:35:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-19 21:35:22 +0200 |
commit | e0518bee9b4c164f40716a8033b5e207c2060c0b (patch) | |
tree | 6d2de5221d2b1945a065e0abba8198d8a052a92a /src/openvic-simulation/military/Leader.hpp | |
parent | a673f89bb2705826b1c646365eab1775727372b7 (diff) | |
parent | d8baf57d46539da9edba5952f73089bf9a54bdaf (diff) |
Merge pull request #175 from OpenVicProject/unit-work
Unit position/country/leader handling + more use of unit branch templates
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: |