mirror of https://github.com/CGAL/cgal
add missing shared data constructor from 2 args
This commit is contained in:
parent
e412f6c2e5
commit
326b604e58
|
|
@ -176,6 +176,13 @@ public:
|
|||
return Cstr_shared_data::construct_shared_data(const_cast<FaceGraph&>(graph));
|
||||
}
|
||||
|
||||
static
|
||||
typename Cstr_shared_data::Shared_data
|
||||
construct_shared_data(const FaceGraph& graph, const VertexPointPMap& vpm)
|
||||
{
|
||||
return Cstr_shared_data::construct_shared_data(const_cast<FaceGraph&>(graph), vpm);
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
} // end namespace CGAL
|
||||
|
|
|
|||
|
|
@ -144,6 +144,13 @@ public:
|
|||
{
|
||||
return Cstr_shared_data::construct_shared_data(const_cast<HalfedgeGraph&>(graph));
|
||||
}
|
||||
|
||||
static
|
||||
typename Cstr_shared_data::Shared_data
|
||||
construct_shared_data(const HalfedgeGraph& graph, const VertexPointPMap& vpm)
|
||||
{
|
||||
return Cstr_shared_data::construct_shared_data(const_cast<HalfedgeGraph&>(graph), vpm);
|
||||
}
|
||||
};
|
||||
|
||||
} // end namespace CGAL
|
||||
|
|
|
|||
Loading…
Reference in New Issue