diff options
author | BrickPi <ajmach6@gmail.com> | 2024-09-15 17:51:04 +0200 |
---|---|---|
committer | BrickPi <ajmach6@gmail.com> | 2024-09-21 15:56:46 +0200 |
commit | be284699453b2ee629725fa5cc2f84a2ca7684a2 (patch) | |
tree | 0b63109a3b044363cd92e0388994604b013b49f2 /src/openvic-simulation/map/MapDefinition.hpp | |
parent | ba4567fa6fceb3c2a61b673dbdbbd0c1d2ac8c06 (diff) |
Optimisationrivers
Diffstat (limited to 'src/openvic-simulation/map/MapDefinition.hpp')
-rw-r--r-- | src/openvic-simulation/map/MapDefinition.hpp | 9 |
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: |