diff --git a/vcg/complex/edgemesh/allocate.h b/vcg/complex/edgemesh/allocate.h index f8f081d6..912cfd12 100644 --- a/vcg/complex/edgemesh/allocate.h +++ b/vcg/complex/edgemesh/allocate.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.4 2004/10/28 00:47:42 cignoni +Better Doxygen documentation + Revision 1.3 2004/09/20 08:37:47 cignoni Better Doxygen docs @@ -114,7 +117,7 @@ static VertexIterator AddVertices(MeshType &m,int n, PointerUpdater &pu) { - EdgeIterator last=0; + EdgeIterator last=(EdgeIterator)0; pu.Clear(); if(m.edges.empty()) { pu.oldBase=0; // if the vector is empty we cannot find the last valid element @@ -184,7 +187,7 @@ static EdgeIterator AddEdges(MeshType &m, int n, PointerUpdater &pu } // e poiche' lo spazio e' cambiato si ricalcola anche last da zero unsigned int siz=m.edges.size()-n; - if(last!=0) + if(last!=(EdgeIterator)0) { last = m.edges.begin(); advance(last,siz);