diff options
Diffstat (limited to 'xs/src/libslic3r/SurfaceCollection.hpp')
-rw-r--r-- | xs/src/libslic3r/SurfaceCollection.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xs/src/libslic3r/SurfaceCollection.hpp b/xs/src/libslic3r/SurfaceCollection.hpp index 0edca6a5a..29cfeb1db 100644 --- a/xs/src/libslic3r/SurfaceCollection.hpp +++ b/xs/src/libslic3r/SurfaceCollection.hpp @@ -13,8 +13,8 @@ public: Surfaces surfaces; SurfaceCollection() {}; - SurfaceCollection(const Surfaces &_surfaces) - : surfaces(_surfaces) {}; + SurfaceCollection(const Surfaces &surfaces) : surfaces(surfaces) {}; + SurfaceCollection(Surfaces &&surfaces) : surfaces(std::move(surfaces)) {}; operator Polygons() const; operator ExPolygons() const; void simplify(double tolerance); |