diff --git a/BGL/include/CGAL/boost/graph/IO/PLY.h b/BGL/include/CGAL/boost/graph/IO/PLY.h index 20883ffdfd3..649e4a93139 100644 --- a/BGL/include/CGAL/boost/graph/IO/PLY.h +++ b/BGL/include/CGAL/boost/graph/IO/PLY.h @@ -18,7 +18,6 @@ #include #include #include -#include #include #include @@ -233,21 +232,6 @@ bool read_PLY(const std::string& fname, //////////////////////////////////////////////////////////////////////////////////////////////////// // Write -template -struct To_double_property_map_no_lvalue -{ - typedef T key_type; ///< typedef to `T` - typedef Simple_cartesian::Point_3 value_type; ///< typedef to `T` - typedef value_type reference; ///< typedef to `T` - typedef boost::readable_property_map_tag category; ///< `boost::readable_property_map_tag` - - typedef To_double_property_map_no_lvalue Self; - - friend value_type get(const Self&, const key_type& k) { - return Simple_cartesian::Point_3(to_double(k.x()), to_double(k.y()), to_double(k.z()));} -}; - - /*! \ingroup PkgBGLIoFuncsPLY diff --git a/Stream_support/test/Stream_support/issue_7874.cpp b/Stream_support/test/Stream_support/issue_7874.cpp index fac43dd223a..ca44c65a13a 100644 --- a/Stream_support/test/Stream_support/issue_7874.cpp +++ b/Stream_support/test/Stream_support/issue_7874.cpp @@ -6,6 +6,7 @@ #include #include #include +#include typedef CGAL::Surface_mesh Surface_mesh; typedef boost::graph_traits::vertex_descriptor vertex_descriptor;