From e74a4ba7c6051960e28c278a6cb8ce9d5a95c555 Mon Sep 17 00:00:00 2001 From: Bruno Turcksin Date: Thu, 14 Mar 2019 17:58:31 -0400 Subject: [PATCH] Make clear that the predicate must be const --- include/deal.II/base/parallel.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.5