From 11d1545f5f700b9ca90faa9ad0f9593a5651697b Mon Sep 17 00:00:00 2001 From: cnr-isti-vclab Date: Thu, 31 Aug 2006 13:11:12 +0000 Subject: [PATCH] corrected bounds of a vector scan --- vcg/complex/trimesh/update/flag.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vcg/complex/trimesh/update/flag.h b/vcg/complex/trimesh/update/flag.h index 39957438..73bafdb8 100644 --- a/vcg/complex/trimesh/update/flag.h +++ b/vcg/complex/trimesh/update/flag.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.16 2006/08/30 12:59:49 marfr960 +Added missing std:: to swap + Revision 1.15 2006/08/30 06:50:07 cignoni Reverted to version 1.13. Version 1.14 was done on outdated version. @@ -240,7 +243,7 @@ static void FaceBorderFromNone(MeshType &m) sort(e.begin(), e.end()); // Lo ordino per vertici typename std::vector::iterator pe,ps; - for(ps = e.begin(), pe=e.begin(); pe<=e.end(); ++pe) // Scansione vettore ausiliario + for(ps = e.begin(), pe = e.begin(); pe < e.end(); ++pe) // Scansione vettore ausiliario { if( pe==e.end() || *pe != *ps ) // Trovo blocco di edge uguali {