diff --git a/AABB_tree/include/CGAL/AABB_traits.h b/AABB_tree/include/CGAL/AABB_traits.h index aba61140bcb..f6b4bd8a9c9 100644 --- a/AABB_tree/include/CGAL/AABB_traits.h +++ b/AABB_tree/include/CGAL/AABB_traits.h @@ -39,17 +39,12 @@ namespace CGAL { namespace internal{ namespace AABB_tree { - template - struct Remove_optional { typedef T type; }; - - template - struct Remove_optional< ::boost::optional > { typedef T type; }; - -} } //end of namespace internal::AABB_tree - -namespace internal{ +template +struct Remove_optional { typedef T type; }; +template +struct Remove_optional< ::boost::optional > { typedef T type; }; //helper controlling whether extra data should be stored in the AABB_tree traits class template ::value> @@ -96,7 +91,7 @@ struct AABB_traits_base{ const typename Primitive::Shared_data& shared_data() const {return m_primitive_data;} }; -} +} } //end of namespace internal::AABB_tree /// \addtogroup PkgAABB_tree /// @{ @@ -118,7 +113,7 @@ struct AABB_traits_base{ /// \sa `AABBPrimitive` template class AABB_traits: - public internal::AABB_traits_base + public internal::AABB_tree::AABB_traits_base { typedef typename CGAL::Object Object; public: