mirror of https://github.com/CGAL/cgal
fix warning
warning: moving a local object in a return statement prevents copy elision
This commit is contained in:
parent
ab0c0b96de
commit
06f84573bd
|
|
@ -295,7 +295,7 @@ TriangleMeshOut surface_Delaunay_remeshing(const TriangleMesh& tmesh
|
||||||
|
|
||||||
TriangleMeshOut out;
|
TriangleMeshOut out;
|
||||||
CGAL::facets_in_complex_3_to_triangle_mesh(c3t3, out);
|
CGAL::facets_in_complex_3_to_triangle_mesh(c3t3, out);
|
||||||
return std::move(out);
|
return out;
|
||||||
}
|
}
|
||||||
|
|
||||||
} //end namespace Polygon_mesh_processing
|
} //end namespace Polygon_mesh_processing
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue