diff --git a/Point_set_shape_detection_3/examples/Point_set_shape_detection_3/efficient_RANSAC_point_access.cpp b/Point_set_shape_detection_3/examples/Point_set_shape_detection_3/efficient_RANSAC_point_access.cpp index 2fec4a821e2..5920b36d264 100644 --- a/Point_set_shape_detection_3/examples/Point_set_shape_detection_3/efficient_RANSAC_point_access.cpp +++ b/Point_set_shape_detection_3/examples/Point_set_shape_detection_3/efficient_RANSAC_point_access.cpp @@ -52,7 +52,7 @@ int main() ransac.set_input(points); // Registers detection of planes - ransac.template add_shape_factory(); + ransac.add_shape_factory(); // Measures time before setting up the shape detection. CGAL::Timer time;