From b990d0284677490a3377073fc0fa1613d22c6beb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Thu, 12 Sep 2019 14:35:02 +0200 Subject: [PATCH] use iterator traits --- Point_set_processing_3/include/CGAL/mst_orient_normals.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 6c8ae6be09a..e882c37121d 100644 --- a/Point_set_processing_3/include/CGAL/mst_orient_normals.h +++ b/Point_set_processing_3/include/CGAL/mst_orient_normals.h @@ -127,7 +127,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;