summaryrefslogtreecommitdiff
path: root/src/openvic/GameManager.cpp
diff options
context:
space:
mode:
author ClarkeCode <clarke.john.robert@gmail.com>2023-06-23 08:55:52 +0200
committer ClarkeCode <clarke.john.robert@gmail.com>2023-06-23 09:03:07 +0200
commitc2bbef21e3ac507a8f6ceea8662ec3f988e9a4d9 (patch)
tree6eb0ffb0ebe6c73fdf3b6b6e749b65720a647664 /src/openvic/GameManager.cpp
parent9c8bc64662b3b3e352e59fbf58eca46f72117f5a (diff)
Fragile loading of goods, cascading wide string changescompatibility-precursors
Diffstat (limited to 'src/openvic/GameManager.cpp')
-rw-r--r--src/openvic/GameManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvic/GameManager.cpp b/src/openvic/GameManager.cpp
index b2a9c27..0be026d 100644
--- a/src/openvic/GameManager.cpp
+++ b/src/openvic/GameManager.cpp
@@ -42,7 +42,7 @@ Date const& GameManager::get_today() const {
return today;
}
-return_t GameManager::expand_building(index_t province_index, std::string const& building_type_identifier) {
+return_t GameManager::expand_building(index_t province_index, ovstring const& building_type_identifier) {
set_needs_update();
Province* province = map.get_province_by_index(province_index);
if (province == nullptr) return FAILURE;