mirror of https://github.com/CGAL/cgal
fix conversion warning and remove extra boost::
This commit is contained in:
parent
99e36bfb0d
commit
9b519ade69
|
|
@ -46,7 +46,7 @@ int main(int argc,char** argv)
|
||||||
|
|
||||||
// Definition of the region of interest (use the whole mesh)
|
// Definition of the region of interest (use the whole mesh)
|
||||||
vertex_iterator vb,ve;
|
vertex_iterator vb,ve;
|
||||||
boost::tie(vb, ve) = boost::vertices(mesh);
|
boost::tie(vb, ve) = vertices(mesh);
|
||||||
|
|
||||||
//the selection is set by a file
|
//the selection is set by a file
|
||||||
input.open(argv[2]);
|
input.open(argv[2]);
|
||||||
|
|
|
||||||
|
|
@ -125,7 +125,7 @@ struct Types_selectors<TriangleMesh, CGAL::SRE_ARAP> {
|
||||||
{
|
{
|
||||||
typename boost::graph_traits<TriangleMesh>::in_edge_iterator e, e_end;
|
typename boost::graph_traits<TriangleMesh>::in_edge_iterator e, e_end;
|
||||||
cpp11::tie(e,e_end) = in_edges(vi, hg);
|
cpp11::tie(e,e_end) = in_edges(vi, hg);
|
||||||
m_nb_edges_incident=std::distance(e,e_end);
|
m_nb_edges_incident=(double) std::distance(e,e_end);
|
||||||
}
|
}
|
||||||
|
|
||||||
template <class Square_matrix_3>
|
template <class Square_matrix_3>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue