diff --git a/vcg/complex/trimesh/create/advancing_front.h b/vcg/complex/trimesh/create/advancing_front.h index 63570553..b6f668e7 100644 --- a/vcg/complex/trimesh/create/advancing_front.h +++ b/vcg/complex/trimesh/create/advancing_front.h @@ -477,9 +477,9 @@ template <class MESH> class AdvancingTest: public AdvancingFront<MESH> { vn = i; //find the border assert(this->mesh.vert[i].IsB()); - for(list<FrontEdge>::iterator k = this->front.begin(); k != this->front.end(); k++) + for(std::list<FrontEdge>::iterator k = this->front.begin(); k != this->front.end(); k++) if((*k).v0 == i) touch = k; - for(list<FrontEdge>::iterator k = this->deads.begin(); k != this->deads.end(); k++) + for(std::list<FrontEdge>::iterator k = this->deads.begin(); k != this->deads.end(); k++) if((*k).v0 == i) touch = k; break; } diff --git a/vcg/complex/trimesh/create/ball_pivoting.h b/vcg/complex/trimesh/create/ball_pivoting.h index 614f8060..a49a6de1 100644 --- a/vcg/complex/trimesh/create/ball_pivoting.h +++ b/vcg/complex/trimesh/create/ball_pivoting.h @@ -309,9 +309,9 @@ template <class MESH> class BallPivoting: public AdvancingFront<MESH> { } //test if id is in some border (to return touch - for(list<FrontEdge>::iterator k = this->front.begin(); k != this->front.end(); k++) + for(std::list<FrontEdge>::iterator k = this->front.begin(); k != this->front.end(); k++) if((*k).v0 == id) touch = k; - for(list<FrontEdge>::iterator k = this->deads.begin(); k != this->deads.end(); k++) + for(std::list<FrontEdge>::iterator k = this->deads.begin(); k != this->deads.end(); k++) if((*k).v0 == id) touch = k; //mark vertices close to candidate