diff --git a/Point_set_shape_detection_3/include/CGAL/Efficient_RANSAC.h b/Point_set_shape_detection_3/include/CGAL/Efficient_RANSAC.h index ec4693d173d..dbdf43a0306 100644 --- a/Point_set_shape_detection_3/include/CGAL/Efficient_RANSAC.h +++ b/Point_set_shape_detection_3/include/CGAL/Efficient_RANSAC.h @@ -471,7 +471,7 @@ in 2007 \cgalCite{Schnabel07}. nbNewCandidates++; //add candidate for each type of primitives - for(std::vector::iterator it = + for(typename std::vector::iterator it = m_shape_factories.begin(); it != m_shape_factories.end(); it++) { Shape *p = (Shape *) (*it)(); //compute the primitive and says if the candidate is valid