diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/border.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/border.h index c3a1581c80e..7e029b7ea58 100644 --- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/border.h +++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/border.h @@ -252,7 +252,7 @@ std::size_t border_size(typename boost::graph_traits::halfedge_desc /// @todo It could make sense to also return the length of each cycle. /// @todo It should probably go into BGL package (like the rest of this file). template - OutputIterator extract_boundary_cycles(PolygonMesh& pm, + OutputIterator extract_boundary_cycles(const PolygonMesh& pm, OutputIterator out) { typedef typename boost::graph_traits::halfedge_descriptor halfedge_descriptor;