From b76aed2fa0d963b4cd253416b10b6fa5dc53b6cf Mon Sep 17 00:00:00 2001 From: nico Date: Fri, 15 Jul 2016 15:00:14 +0200 Subject: [PATCH] set the pointer to vertex as const --- vcg/simplex/edge/topology.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcg/simplex/edge/topology.h b/vcg/simplex/edge/topology.h index a52da7b3..c3e4c8b8 100644 --- a/vcg/simplex/edge/topology.h +++ b/vcg/simplex/edge/topology.h @@ -57,7 +57,7 @@ inline bool IsEdgeBorder(EdgeType const & e, const int j ) } template -void VVStarVE(VertexType* vp, std::vector &starVec) +void VVStarVE(const VertexType* vp, std::vector &starVec) { starVec.clear(); edge::VEIterator vei(vp);