From 0bebd2cbd0ba631520468f901b554f04e2d3d10c Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Mon, 18 Apr 2016 11:24:45 +0200 Subject: [PATCH] Move the using from properties_Polyhedron.h to property_map.h --- BGL/include/CGAL/boost/graph/properties_Polyhedron_3.h | 5 ----- Property_map/include/CGAL/property_map.h | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/BGL/include/CGAL/boost/graph/properties_Polyhedron_3.h b/BGL/include/CGAL/boost/graph/properties_Polyhedron_3.h index 7766bf4e951..7db008288df 100644 --- a/BGL/include/CGAL/boost/graph/properties_Polyhedron_3.h +++ b/BGL/include/CGAL/boost/graph/properties_Polyhedron_3.h @@ -173,11 +173,6 @@ get(PropertyTag p, CGAL::Polyhedron_3 const& g, const Key& key) { return get(get(p, g), key); } - -// Add this as VC did find the "generalized put" below -// when a bare pointer is used in jet_estimate_normals -using ::put; -using ::get; // generalized put template diff --git a/Property_map/include/CGAL/property_map.h b/Property_map/include/CGAL/property_map.h index fc6606ff1c3..c01edbf3ea2 100644 --- a/Property_map/include/CGAL/property_map.h +++ b/Property_map/include/CGAL/property_map.h @@ -36,6 +36,11 @@ namespace CGAL { +// VC++ does not consider put and get for plain pointers +// when identifying the best match for overloads + +using ::put; +using ::get; /// \cond SKIP_DOXYGEN