diff --git a/Frechet_distance/include/CGAL/Frechet_distance/internal/Frechet_distance.h b/Frechet_distance/include/CGAL/Frechet_distance/internal/Frechet_distance.h index c2a1a29f8f3f..cf07d417b604 100644 --- a/Frechet_distance/include/CGAL/Frechet_distance/internal/Frechet_distance.h +++ b/Frechet_distance/include/CGAL/Frechet_distance/internal/Frechet_distance.h @@ -19,11 +19,11 @@ #include #include #include +#include #include #include #include #include -#include #include #include #include @@ -74,8 +74,8 @@ auto toCurve(const PointRange& point_range, const Traits& traits) } else { - using AT = Frechet_distance_traits; - using ET = Frechet_distance_traits; + using AT = Frechet_distance_::internal::Frechet_distance_traits; + using ET = Frechet_distance_::internal::Frechet_distance_traits; using Filtered_traits = std::pair; return Curve(point_range, traits); diff --git a/Frechet_distance/include/CGAL/Frechet_distance_traits.h b/Frechet_distance/include/CGAL/Frechet_distance/internal/Frechet_distance_traits.h similarity index 92% rename from Frechet_distance/include/CGAL/Frechet_distance_traits.h rename to Frechet_distance/include/CGAL/Frechet_distance/internal/Frechet_distance_traits.h index 92abd6faf930..ef48533bb957 100644 --- a/Frechet_distance/include/CGAL/Frechet_distance_traits.h +++ b/Frechet_distance/include/CGAL/Frechet_distance/internal/Frechet_distance_traits.h @@ -13,16 +13,16 @@ // Andreas Fabri // ============================================================================= -#ifndef CGAL_FRECHET_DISTANCE_TRAITS_H -#define CGAL_FRECHET_DISTANCE_TRAITS_H +#pragma once #include #include #include -namespace CGAL -{ +namespace CGAL { +namespace Frechet_distance_ { +namespace internal { template class Frechet_distance_traits @@ -69,6 +69,6 @@ class Frechet_distance_traits } }; +} +} } // end of namespace CGAL - -#endif // CGAL_FRECHET_DISTANCE_TRAITS_H