set the pointer to vertex as const
This commit is contained in:
parent
b4c76bc03c
commit
b76aed2fa0
|
|
@ -57,7 +57,7 @@ inline bool IsEdgeBorder(EdgeType const & e, const int j )
|
||||||
}
|
}
|
||||||
|
|
||||||
template <class VertexType>
|
template <class VertexType>
|
||||||
void VVStarVE(VertexType* vp, std::vector<VertexType *> &starVec)
|
void VVStarVE(const VertexType* vp, std::vector<VertexType *> &starVec)
|
||||||
{
|
{
|
||||||
starVec.clear();
|
starVec.clear();
|
||||||
edge::VEIterator<typename VertexType::EdgeType> vei(vp);
|
edge::VEIterator<typename VertexType::EdgeType> vei(vp);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue