diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/stitch_borders.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/stitch_borders.h index 8a4704fcc69..c07cb704ab6 100644 --- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/stitch_borders.h +++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/stitch_borders.h @@ -633,7 +633,7 @@ std::size_t stitch_boundary_cycle(const typename boost::graph_traits unstitchable_halfedges; - halfedge_descriptor null_h = boost::graph_traits::null_halfedge(); + const halfedge_descriptor null_h = boost::graph_traits::null_halfedge(); halfedge_descriptor bh = h; for(;;) // until there is nothing to stitch anymore {