set the pointer to vertex as const

This commit is contained in:
nico 2016-07-15 15:00:14 +02:00
parent b4c76bc03c
commit b76aed2fa0
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ inline bool IsEdgeBorder(EdgeType const & e, const int j )
}
template <class VertexType>
void VVStarVE(VertexType* vp, std::vector<VertexType *> &starVec)
void VVStarVE(const VertexType* vp, std::vector<VertexType *> &starVec)
{
starVec.clear();
edge::VEIterator<typename VertexType::EdgeType> vei(vp);