diff --git a/vcg/simplex/edge/pos.h b/vcg/simplex/edge/pos.h index 7d7d846d..321f0142 100644 --- a/vcg/simplex/edge/pos.h +++ b/vcg/simplex/edge/pos.h @@ -285,8 +285,8 @@ public: VEIterator(EdgeType * _e, const int & _z){e = _e; z = _z;} /// Constructor which takes a pointer to vertex - VEIterator(VertexType * _v){ - e = _v->VEp(); z = _v->VEi(); + VEIterator(const VertexType * _v){ + e = _v->cVEp(); z = _v->cVEi(); assert(z>=0 && "VE adjacency not initialized"); }