aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/history/ProvinceHistory.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/history/ProvinceHistory.hpp
parentf5d173e88a49a1a9556860063aef1aa287925cfd (diff)
parent1198a780916e65cae048dd3478f614c1d18db846 (diff)
Merge pull request #162 from OpenVicProject/map-instance
Map instance
Diffstat (limited to 'src/openvic-simulation/history/ProvinceHistory.hpp')
-rw-r--r--src/openvic-simulation/history/ProvinceHistory.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openvic-simulation/history/ProvinceHistory.hpp b/src/openvic-simulation/history/ProvinceHistory.hpp
index 27d744d..c4cbd49 100644
--- a/src/openvic-simulation/history/ProvinceHistory.hpp
+++ b/src/openvic-simulation/history/ProvinceHistory.hpp
@@ -68,7 +68,7 @@ namespace OpenVic {
);
};
- struct Map;
+ struct MapDefinition;
struct ProvinceHistoryManager {
private:
@@ -81,7 +81,7 @@ namespace OpenVic {
ProvinceHistoryManager() = default;
void reserve_more_province_histories(size_t size);
- void lock_province_histories(Map const& map, bool detailed_errors);
+ void lock_province_histories(MapDefinition const& map_definition, bool detailed_errors);
bool is_locked() const;
ProvinceHistoryMap const* get_province_history(ProvinceDefinition const* province) const;