aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/map/Region.hpp
diff options
context:
space:
mode:
author Hop311 <Hop3114@gmail.com>2024-06-13 00:52:45 +0200
committer GitHub <noreply@github.com>2024-06-13 00:52:45 +0200
commita49e4d0975e2b5dfd13ae50aa716f1a0307e618d (patch)
treef681dd2e76d489ba6e7beea44ae6ebd59e9d51f3 /src/openvic-simulation/map/Region.hpp
parentf5d173e88a49a1a9556860063aef1aa287925cfd (diff)
parent1198a780916e65cae048dd3478f614c1d18db846 (diff)
Merge pull request #162 from OpenVicProject/map-instance
Map instance
Diffstat (limited to 'src/openvic-simulation/map/Region.hpp')
-rw-r--r--src/openvic-simulation/map/Region.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openvic-simulation/map/Region.hpp b/src/openvic-simulation/map/Region.hpp
index f532400..1152dab 100644
--- a/src/openvic-simulation/map/Region.hpp
+++ b/src/openvic-simulation/map/Region.hpp
@@ -46,7 +46,7 @@ namespace OpenVic {
};
struct ProvinceSetModifier : Modifier, ProvinceSet {
- friend struct Map;
+ friend struct MapDefinition;
private:
ProvinceSetModifier(std::string_view new_identifier, ModifierValue&& new_values);
public:
@@ -57,7 +57,7 @@ namespace OpenVic {
* MAP-6, MAP-44, MAP-48
*/
struct Region : HasIdentifierAndColour, ProvinceSet {
- friend struct Map;
+ friend struct MapDefinition;
private:
/* A meta region cannot be the template for a state.