diff --git a/Orthtree/include/CGAL/Orthtree_traits_base_for_dimension.h b/Orthtree/include/CGAL/Orthtree_traits_base_for_dimension.h index fb7d4f6b2f9..55692b2ffba 100644 --- a/Orthtree/include/CGAL/Orthtree_traits_base_for_dimension.h +++ b/Orthtree/include/CGAL/Orthtree_traits_base_for_dimension.h @@ -119,7 +119,6 @@ template struct Orthtree_traits_base_for_dimension> { /// \name Types /// @{ - using GeomTraits = K; using Dimension = Dimension_tag<3>; using FT = typename K::FT; using Point_d = typename K::Point_3; diff --git a/Shape_detection/include/CGAL/Shape_detection/Efficient_RANSAC/Octree.h b/Shape_detection/include/CGAL/Shape_detection/Efficient_RANSAC/Octree.h index 12de48cc60f..0aa26c50521 100644 --- a/Shape_detection/include/CGAL/Shape_detection/Efficient_RANSAC/Octree.h +++ b/Shape_detection/include/CGAL/Shape_detection/Efficient_RANSAC/Octree.h @@ -56,7 +56,7 @@ class RANSAC_octree { typedef std::vector Input_range; typedef Random_index_access_property_map Indexed_point_map; - typedef Orthtree_traits_point_3::type, Input_range, Indexed_point_map> OTraits; + typedef Orthtree_traits_point::type, Input_range, Indexed_point_map, Dimension_tag<3>> OTraits; typedef CGAL::Orthtree Octree;