aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/history/CountryHistory.hpp
diff options
context:
space:
mode:
author BrickPi <49528459+BrickPi@users.noreply.github.com>2023-10-27 13:08:13 +0200
committer GitHub <noreply@github.com>2023-10-27 13:08:13 +0200
commit8b454e644babdb9ed9f8f92a816e08b55f9b7401 (patch)
tree18bc1663bae8f82efdbdf9c3d9bb361beb8afc17 /src/openvic-simulation/history/CountryHistory.hpp
parent3d52445de9bd5fb7e77883f2f880587e140fe3bc (diff)
parent17697f6216159f6a89dd8d64a22de0262dcf2aef (diff)
Merge pull request #66 from OpenVicProject/province-history-loading
Diffstat (limited to 'src/openvic-simulation/history/CountryHistory.hpp')
-rw-r--r--src/openvic-simulation/history/CountryHistory.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openvic-simulation/history/CountryHistory.hpp b/src/openvic-simulation/history/CountryHistory.hpp
index a59ebea..56d04c6 100644
--- a/src/openvic-simulation/history/CountryHistory.hpp
+++ b/src/openvic-simulation/history/CountryHistory.hpp
@@ -79,7 +79,7 @@ namespace OpenVic {
std::map<Country const*, std::map<Date, CountryHistory>> country_histories;
bool locked = false;
- inline bool _load_country_history_entry(GameManager& game_manager, std::string_view name, OpenVic::Date date, ast::NodeCPtr root);
+ inline bool _load_country_history_entry(GameManager& game_manager, std::string_view name, Date const& date, ast::NodeCPtr root);
public:
CountryHistoryManager() {}
@@ -114,7 +114,7 @@ namespace OpenVic {
/* Returns history of country at bookmark date. Return can be nullptr if an error occurs. */
inline CountryHistory const* get_country_history(Country const* country, Bookmark const* entry) const;
- bool load_country_history_file(GameManager& game_manager, std::string_view name, Date start_date, ast::NodeCPtr root);
+ bool load_country_history_file(GameManager& game_manager, std::string_view name, ast::NodeCPtr root);
};
} // namespace OpenVic