From 85155e033e9b03d71752626137a75f6418a5786c Mon Sep 17 00:00:00 2001 From: zaaarf Date: Sun, 10 Dec 2023 13:35:25 +0100 Subject: feat: implemented pop history loading --- src/openvic-simulation/history/HistoryMap.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/openvic-simulation/history/HistoryMap.hpp') diff --git a/src/openvic-simulation/history/HistoryMap.hpp b/src/openvic-simulation/history/HistoryMap.hpp index 07f54f0..4a79474 100644 --- a/src/openvic-simulation/history/HistoryMap.hpp +++ b/src/openvic-simulation/history/HistoryMap.hpp @@ -27,8 +27,6 @@ namespace OpenVic { using entry_type = _Entry; private: - std::map> PROPERTY(entries); - bool _try_load_history_entry(GameManager const& game_manager, Args... args, Date date, ast::NodeCPtr root) { const Date end_date = _get_end_date(game_manager); if (date > end_date) { @@ -49,6 +47,8 @@ namespace OpenVic { } protected: + std::map> PROPERTY_ACCESS(entries, protected); + HistoryMap() = default; virtual std::unique_ptr _make_entry(Date date) const = 0; -- cgit v1.2.3-56-ga3b1