diff options
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); |