diff --git a/Shape_detection/include/CGAL/Shape_detection/Region_growing/Region_growing.h b/Shape_detection/include/CGAL/Shape_detection/Region_growing/Region_growing.h index 63b6a168150..78b7a68189e 100644 --- a/Shape_detection/include/CGAL/Shape_detection/Region_growing/Region_growing.h +++ b/Shape_detection/include/CGAL/Shape_detection/Region_growing/Region_growing.h @@ -32,16 +32,18 @@ namespace CGAL { namespace Shape_detection { +namespace internal { template ::value> - struct pipo{ - static RegionMap create_map(RegionType) { return RegionMap(); } + struct RM_creator{ + static RegionMap create(RegionType) { return RegionMap(); } }; template - struct pipo{ - static RegionMap create_map(RegionType& r ) { return r.region_index_map(); } + struct RM_creator{ + static RegionMap create(RegionType& r ) { return r.region_index_map(); } }; +} /*! \ingroup PkgShapeDetectionRG @@ -132,7 +134,7 @@ namespace Shape_detection { ) : m_neighbor_query(neighbor_query), m_region_type(region_type), - m_region_map(pipo::create_map(region_type)), + m_region_map(internal::RM_creator::create(region_type)), m_visited(m_visited_map) { CGAL_precondition(input_range.size() > 0); @@ -196,7 +198,7 @@ namespace Shape_detection { ) : m_neighbor_query(neighbor_query), m_region_type(region_type), - m_region_map(pipo::create_map(region_type)), + m_region_map(internal::RM_creator::create(region_type)), m_visited(m_visited_map) { CGAL_precondition(input_range.size() > 0);