aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/map/State.hpp
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2023-12-08 00:12:32 +0100
committer hop311 <hop3114@gmail.com>2023-12-08 00:12:32 +0100
commit4320b37f7258c7e1f2585d67509045b5c9d6de06 (patch)
tree6789bacb931ccfd7c7dc9de9e22a17b78b725d09 /src/openvic-simulation/map/State.hpp
parent085fe94212c6f0ddbdfca1b2ba58223e7f6dcc8a (diff)
Meta regions being used to make states fix
Diffstat (limited to 'src/openvic-simulation/map/State.hpp')
-rw-r--r--src/openvic-simulation/map/State.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openvic-simulation/map/State.hpp b/src/openvic-simulation/map/State.hpp
index e403580..bb23b2d 100644
--- a/src/openvic-simulation/map/State.hpp
+++ b/src/openvic-simulation/map/State.hpp
@@ -29,11 +29,11 @@ namespace OpenVic {
using states_t = std::deque<State>;
private:
- Region const* PROPERTY(region);
+ Region const& PROPERTY(region);
states_t states;
public:
- StateSet(Region const* new_region);
+ StateSet(Region const& new_region);
bool add_state(State&& state);
bool remove_state(State const* state);