aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/history/HistoryMap.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-simulation/history/HistoryMap.hpp')
-rw-r--r--src/openvic-simulation/history/HistoryMap.hpp4
1 files changed, 2 insertions, 2 deletions
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<Date, std::unique_ptr<entry_type>> 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<Date, std::unique_ptr<entry_type>> PROPERTY_ACCESS(entries, protected);
+
HistoryMap() = default;
virtual std::unique_ptr<entry_type> _make_entry(Date date) const = 0;