aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/military/Leader.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-simulation/military/Leader.hpp')
-rw-r--r--src/openvic-simulation/military/Leader.hpp4
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: