diff options
author | hop311 <hop3114@gmail.com> | 2023-12-08 00:12:32 +0100 |
---|---|---|
committer | hop311 <hop3114@gmail.com> | 2023-12-08 00:12:32 +0100 |
commit | 4320b37f7258c7e1f2585d67509045b5c9d6de06 (patch) | |
tree | 6789bacb931ccfd7c7dc9de9e22a17b78b725d09 /src/openvic-simulation/map/State.hpp | |
parent | 085fe94212c6f0ddbdfca1b2ba58223e7f6dcc8a (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.hpp | 4 |
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); |