From: Bruno Turcksin Date: Thu, 14 Mar 2019 21:58:31 +0000 (-0400) Subject: Make clear that the predicate must be const X-Git-Tag: v9.1.0-rc1~282^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e74a4ba7c6051960e28c278a6cb8ce9d5a95c555;p=dealii.git Make clear that the predicate must be const --- diff --git a/include/deal.II/base/parallel.h b/include/deal.II/base/parallel.h index d9db08f5ac..8b9d5cc491 100644 --- a/include/deal.II/base/parallel.h +++ b/include/deal.II/base/parallel.h @@ -209,7 +209,7 @@ namespace parallel transform(const InputIterator &begin_in, const InputIterator &end_in, OutputIterator out, - Predicate & predicate, + const Predicate & predicate, const unsigned int grainsize) { #ifndef DEAL_II_WITH_THREADS @@ -265,7 +265,7 @@ namespace parallel const InputIterator1 &end_in1, InputIterator2 in2, OutputIterator out, - Predicate & predicate, + const Predicate & predicate, const unsigned int grainsize) { #ifndef DEAL_II_WITH_THREADS @@ -324,7 +324,7 @@ namespace parallel InputIterator2 in2, InputIterator3 in3, OutputIterator out, - Predicate & predicate, + const Predicate & predicate, const unsigned int grainsize) { #ifndef DEAL_II_WITH_THREADS