From aeaed0d18acd5193e4c0697b108dd22704ee3aac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Fri, 24 Oct 2014 10:10:59 +0200 Subject: [PATCH] remove deprecated constructor that conflict with the new one --- .../CGAL/AABB_face_graph_triangle_primitive.h | 28 ------------------- 1 file changed, 28 deletions(-) diff --git a/AABB_tree/include/CGAL/AABB_face_graph_triangle_primitive.h b/AABB_tree/include/CGAL/AABB_face_graph_triangle_primitive.h index 47a18606d71..f284f4be68c 100644 --- a/AABB_tree/include/CGAL/AABB_face_graph_triangle_primitive.h +++ b/AABB_tree/include/CGAL/AABB_face_graph_triangle_primitive.h @@ -25,27 +25,9 @@ #include #include #include -#include namespace CGAL { - -#ifndef CGAL_NO_DEPRECATED_CODE -namespace internal_aabb_tree{ - BOOST_MPL_HAS_XXX_TRAIT_NAMED_DEF(Has_facet_const_handle,Facet_const_handle,false) - template ::value> - struct Get_facet_const_handle{ - typedef typename FaceGraph::Facet_const_handle type; - }; - - template - struct Get_facet_const_handle{ - typedef void* type; - }; -} -#endif - /*! * \ingroup PkgAABB_tree * Primitive type for a facet of a polyhedral surface. @@ -168,16 +150,6 @@ public: Triangle_property_map(const_cast(&graph)), Point_property_map(const_cast(&graph)) ) {} -#ifndef CGAL_NO_DEPRECATED_CODE - // for backward compatibility with Polyhedron::facets_begin() - AABB_face_graph_triangle_primitive( - typename internal_aabb_tree::Get_facet_const_handle::type fd, - FaceGraph& graph - ) : Base( Id_(fd.remove_const()), - Triangle_property_map(&graph), - Point_property_map(&graph) ) - {} -#endif #endif /// \internal