aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-simulation/map')
-rw-r--r--src/openvic-simulation/map/Province.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvic-simulation/map/Province.cpp b/src/openvic-simulation/map/Province.cpp
index 099ba9b..4b76210 100644
--- a/src/openvic-simulation/map/Province.cpp
+++ b/src/openvic-simulation/map/Province.cpp
@@ -228,7 +228,7 @@ void Province::apply_history_to_province(ProvinceHistoryMap const& history, Date
reset_buildings();
- for (const auto& entry : entries) {
+ for (ProvinceHistoryEntry const* entry : entries) {
if (entry->get_life_rating()) life_rating = *entry->get_life_rating();
if (entry->get_colonial()) colony_status = *entry->get_colonial();
if (entry->get_rgo()) rgo = *entry->get_rgo();