diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/triangle_soup_snap_rounding.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/triangle_soup_snap_rounding.h index 278dac77c10..4a2e8e77e44 100644 --- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/triangle_soup_snap_rounding.h +++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/triangle_soup_snap_rounding.h @@ -18,6 +18,7 @@ #include #include +#include #include #include @@ -105,7 +106,7 @@ struct Triangle_soup_fixer using parameters::get_parameter; using parameters::choose_parameter; - typedef typename CGAL::Polygon_mesh_processing::internal::GetPolygonGeomTraits::type Traits; + typedef typename GetPolygonGeomTraits::type Traits; Traits traits = choose_parameter(get_parameter(np, internal_np::geom_traits), Traits()); CGAL::Polygon_mesh_processing::merge_duplicate_points_in_polygon_soup(points, polygons, np); @@ -140,7 +141,7 @@ struct Triangle_soup_fixer::type Traits; + typedef typename GetPolygonGeomTraits::type Traits; Traits traits = choose_parameter(get_parameter(np, internal_np::geom_traits), Traits()); CGAL::Polygon_mesh_processing::merge_duplicate_points_in_polygon_soup(points, polygons, np);