aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/map/MapDefinition.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-simulation/map/MapDefinition.hpp')
-rw-r--r--src/openvic-simulation/map/MapDefinition.hpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/openvic-simulation/map/MapDefinition.hpp b/src/openvic-simulation/map/MapDefinition.hpp
index bd3b5ae..e835da8 100644
--- a/src/openvic-simulation/map/MapDefinition.hpp
+++ b/src/openvic-simulation/map/MapDefinition.hpp
@@ -25,10 +25,13 @@ namespace OpenVic {
friend struct MapDefinition;
private:
- const uint8_t PROPERTY(size);
- const std::vector<ivec2_t> PROPERTY(points);
+ const uint8_t PROPERTY(size);
+ std::vector<ivec2_t> PROPERTY(points);
- RiverSegment(uint8_t new_size, std::vector<ivec2_t> new_points);
+ RiverSegment(uint8_t new_size, std::vector<ivec2_t>&& new_points);
+
+ public:
+ RiverSegment(RiverSegment&&) = default;
};
/* REQUIREMENTS: