diff --git a/Point_set_processing_3/examples/Point_set_processing_3/property_map.cpp b/Point_set_processing_3/examples/Point_set_processing_3/property_map.cpp index aa2e292ea55..556d56e994d 100644 --- a/Point_set_processing_3/examples/Point_set_processing_3/property_map.cpp +++ b/Point_set_processing_3/examples/Point_set_processing_3/property_map.cpp @@ -71,8 +71,8 @@ void process_point_set(Iterator beg, Iterator end) // Here comes a function that changes the orientation and the normal -template -void orient_normals(Iterator beg, Iterator end, PointPMap point_pmap, OrientationPMap orient_pmap, NormalPMap normal_pmap) +template +void orient_normals(Iterator beg, Iterator end, OrientationPMap orient_pmap, NormalPMap normal_pmap) { for(;beg!= end;++beg){ Vector_3& v = get(normal_pmap, beg); @@ -145,7 +145,6 @@ int main() //We keep the sequence in order, but determine the normal and if it is different from zero set the Boolean to true orient_normals(points.begin(), points.end(), - CGAL::make_nth_of_tuple_property_map<1>(points.begin()), CGAL::make_nth_of_tuple_property_map<2>(points.begin()), CGAL::make_nth_of_tuple_property_map<3>(points.begin()));