diff --git a/Point_set_shape_detection_3/include/CGAL/Shape_detection_3/Shape_base.h b/Point_set_shape_detection_3/include/CGAL/Shape_detection_3/Shape_base.h index da679862b03..a1c381abb96 100644 --- a/Point_set_shape_detection_3/include/CGAL/Shape_detection_3/Shape_base.h +++ b/Point_set_shape_detection_3/include/CGAL/Shape_detection_3/Shape_base.h @@ -127,7 +127,8 @@ namespace CGAL { Determines the largest cluster of inlier points. A point belongs to a cluster if there is a point in the cluster closer than `cluster_epsilon` distance. */ - std::size_t connected_component(std::vector &indices, FT cluster_epsilon) { + virtual std::size_t connected_component( + std::vector &indices, FT cluster_epsilon) { if (indices.size() == 0) return 0;