diff --git a/src/libslic3r/TriangleMesh.cpp b/src/libslic3r/TriangleMesh.cpp index 66bf913e0..4bf9fd486 100644 --- a/src/libslic3r/TriangleMesh.cpp +++ b/src/libslic3r/TriangleMesh.cpp @@ -903,7 +903,7 @@ Polygon its_convex_hull_2d_above(const indexed_triangle_set& its, const Transfor chs.push_back(collect_mesh_projection_points_above(range)); }); - const Polygons polygons(chs.begin(), chs.end()); + const Polygons polygons(std::make_move_iterator(chs.begin()), std::make_move_iterator(chs.end())); return Geometry::convex_hull(polygons); }