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 343007a83b2..53a5217ca66 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 @@ -106,9 +106,9 @@ struct Default_halfedges_keeper { typedef typename boost::graph_traits::halfedge_descriptor halfedge_descriptor; - halfedge_descriptor operator()(const halfedge_descriptor h1, const halfedge_descriptor h2) const + halfedge_descriptor operator()(const halfedge_descriptor h1, const halfedge_descriptor) const { - return (h1 < h2) ? h1 : h2; // Arbitrary preference + return h1; } };