From c47ba58ca0bddad240b10f448d7b42af7918acca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Fri, 19 Nov 2021 13:42:11 +0100 Subject: [PATCH] fix ambiguity in function signature --- .../Surface_mesh_parameterization/internal/validity.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Surface_mesh_parameterization/include/CGAL/Surface_mesh_parameterization/internal/validity.h b/Surface_mesh_parameterization/include/CGAL/Surface_mesh_parameterization/internal/validity.h index 6c40995198d..e401c5273d8 100644 --- a/Surface_mesh_parameterization/include/CGAL/Surface_mesh_parameterization/internal/validity.h +++ b/Surface_mesh_parameterization/include/CGAL/Surface_mesh_parameterization/internal/validity.h @@ -26,7 +26,8 @@ #include #include - +#include +#include #include namespace CGAL { @@ -240,7 +241,10 @@ template bool is_one_to_one_mapping(const TriangleMesh& mesh, const Faces_Container& faces, - const VertexUVMap uvmap) + const VertexUVMap uvmap, + typename boost::enable_if< + boost::has_range_iterator + >::type* = nullptr) { typedef typename boost::graph_traits::vertex_descriptor vertex_descriptor; typedef typename boost::graph_traits::halfedge_descriptor halfedge_descriptor;