diff --git a/Point_set_processing_3/include/CGAL/IO/read_las_points.h b/Point_set_processing_3/include/CGAL/IO/read_las_points.h index 49023179e2f..92a9a723046 100644 --- a/Point_set_processing_3/include/CGAL/IO/read_las_points.h +++ b/Point_set_processing_3/include/CGAL/IO/read_las_points.h @@ -644,7 +644,7 @@ CGAL_DEPRECATED bool read_las_points(std::istream& is, using parameters::get_parameter; typedef typename CGAL::GetPointMap, CGAL_BGL_NP_CLASS>::type PointMap; - PointMap point_map = choose_parameter(get_parameter(np, internal_np::point_map)); + PointMap point_map = choose_parameter, CGAL_BGL_NP_CLASS>::type>(get_parameter(np, internal_np::point_map)); return read_LAS(is, output, make_las_point_reader(point_map)); }