From eec61ad612894afd13ea0440d358dac92c3333df Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Sat, 14 Aug 2010 14:30:44 +0000 Subject: [PATCH] bug fix in for loop --- .../include/CGAL/Reconstruction_triangulation_3.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Surface_reconstruction_points_3/include/CGAL/Reconstruction_triangulation_3.h b/Surface_reconstruction_points_3/include/CGAL/Reconstruction_triangulation_3.h index a2053514324..2056497839c 100644 --- a/Surface_reconstruction_points_3/include/CGAL/Reconstruction_triangulation_3.h +++ b/Surface_reconstruction_points_3/include/CGAL/Reconstruction_triangulation_3.h @@ -304,7 +304,8 @@ public: // Represents *all* points by a set of spheres with 0 radius std::vector spheres; spheres.reserve(number_of_vertices()); - for (Point_iterator it=points_begin(); Point_iterator eit=points_end(); + + for (Point_iterator it=points_begin(), eit=points_end(); it != eit; ++it) spheres.push_back(Traits_sphere(*it,0));