mirror of https://github.com/CGAL/cgal
use const map (non-const map should be convertible to const map in practice)
This commit is contained in:
parent
4cf7f5e047
commit
baf27bbd6e
|
|
@ -70,17 +70,17 @@ class AABB_face_graph_triangle_primitive
|
||||||
FaceGraph,
|
FaceGraph,
|
||||||
typename Default::Get<VertexPointPMap,
|
typename Default::Get<VertexPointPMap,
|
||||||
typename boost::property_map< FaceGraph,
|
typename boost::property_map< FaceGraph,
|
||||||
vertex_point_t>::type >::type>,
|
vertex_point_t>::const_type >::type>,
|
||||||
One_point_from_face_descriptor_map<
|
One_point_from_face_descriptor_map<
|
||||||
FaceGraph,
|
FaceGraph,
|
||||||
typename Default::Get<VertexPointPMap,
|
typename Default::Get<VertexPointPMap,
|
||||||
typename boost::property_map< FaceGraph,
|
typename boost::property_map< FaceGraph,
|
||||||
vertex_point_t>::type >::type>,
|
vertex_point_t>::const_type >::type>,
|
||||||
OneFaceGraphPerTree,
|
OneFaceGraphPerTree,
|
||||||
CacheDatum >
|
CacheDatum >
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
typedef typename Default::Get<VertexPointPMap, typename boost::property_map< FaceGraph, vertex_point_t>::type >::type VertexPointPMap_;
|
typedef typename Default::Get<VertexPointPMap, typename boost::property_map< FaceGraph, vertex_point_t>::const_type >::type VertexPointPMap_;
|
||||||
|
|
||||||
typedef typename boost::graph_traits<FaceGraph>::face_descriptor Id_;
|
typedef typename boost::graph_traits<FaceGraph>::face_descriptor Id_;
|
||||||
typedef Triangle_from_face_descriptor_map<FaceGraph,VertexPointPMap_> Triangle_property_map;
|
typedef Triangle_from_face_descriptor_map<FaceGraph,VertexPointPMap_> Triangle_property_map;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue