diff --git a/STL_Extension/include/CGAL/for_each.h b/STL_Extension/include/CGAL/for_each.h index 65aeedef9d6..f68bba0e80b 100644 --- a/STL_Extension/include/CGAL/for_each.h +++ b/STL_Extension/include/CGAL/for_each.h @@ -54,10 +54,9 @@ void for_each (RangeRef range, } #ifdef CGAL_LINKED_WITH_TBB -template +template void for_each (RangeRef range, - const std::function::type>::reference)>& functor, + const Fct& functor, const Parallel_tag&, IteratorCategory) { @@ -77,10 +76,9 @@ void for_each (RangeRef range, }); } -template +template void for_each (RangeRef range, - const std::function::type>::reference)>& functor, + const Fct& functor, const Parallel_tag&, std::random_access_iterator_tag) {