diff --git a/Point_set_processing_3/include/CGAL/mst_orient_normals.h b/Point_set_processing_3/include/CGAL/mst_orient_normals.h index ca514afe76c..871105686cf 100644 --- a/Point_set_processing_3/include/CGAL/mst_orient_normals.h +++ b/Point_set_processing_3/include/CGAL/mst_orient_normals.h @@ -128,7 +128,8 @@ class Default_constrained_map public: typedef boost::readable_property_map_tag category; - typedef typename ForwardIterator::value_type key_type; + typedef typename std::iterator_traits< + ForwardIterator>::value_type key_type; typedef bool value_type; typedef value_type reference;