diff options
author | hop311 <hop3114@gmail.com> | 2023-10-30 00:06:10 +0100 |
---|---|---|
committer | hop311 <hop3114@gmail.com> | 2023-11-07 19:33:33 +0100 |
commit | e91ce707b2c0e80591b9fd1b6a5215e6e6989df8 (patch) | |
tree | 3740e9feb3bfa91b8b02362ed11d1e9f7e67e7c9 /src/openvic-simulation/economy/Building.hpp | |
parent | 8a00697a0e6a4168894594eadc373836a1689eea (diff) |
Stop passing Dates by reference
Diffstat (limited to 'src/openvic-simulation/economy/Building.hpp')
-rw-r--r-- | src/openvic-simulation/economy/Building.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/openvic-simulation/economy/Building.hpp b/src/openvic-simulation/economy/Building.hpp index 0b94298..e907e49 100644 --- a/src/openvic-simulation/economy/Building.hpp +++ b/src/openvic-simulation/economy/Building.hpp @@ -133,13 +133,13 @@ namespace OpenVic { level_t get_current_level() const; ExpansionState get_expansion_state() const; - Date const& get_start_date() const; - Date const& get_end_date() const; + Date get_start_date() const; + Date get_end_date() const; float get_expansion_progress() const; bool expand(); - void update_state(Date const& today); - void tick(Date const& today); + void update_state(Date today); + void tick(Date today); }; struct Province; |