give a default value

This commit is contained in:
Sébastien Loriot 2019-02-08 10:11:50 +01:00 committed by Maxime Gimeno
parent a041444f81
commit d5abc63e80
1 changed files with 2 additions and 2 deletions

View File

@ -131,7 +131,7 @@ CGAL_PROPERTY_SURFACE_MESH_RETURN_TYPE(CGAL::edge_is_feature_t)
inline get(CGAL::edge_is_feature_t, Surface_mesh<P>& smesh)
{
typedef typename boost::graph_traits<Surface_mesh<P> >::edge_descriptor edge_descriptor;
return smesh. template add_property_map<edge_descriptor,bool>("e:is_feature").first;
return smesh. template add_property_map<edge_descriptor,bool>("e:is_feature", false).first;
}
@ -140,7 +140,7 @@ CGAL_PROPERTY_SURFACE_MESH_RETURN_TYPE(CGAL::edge_is_feature_t)
inline get(CGAL::edge_is_feature_t, const Surface_mesh<P>& smesh)
{
typedef typename boost::graph_traits<Surface_mesh<P> >::edge_descriptor edge_descriptor;
return smesh. template property_map<edge_descriptor,bool>("e:is_feature").first;
return smesh. template property_map<edge_descriptor,bool>("e:is_feature", false).first;
}