From: Wolfgang Bangerth Date: Mon, 6 Dec 2021 18:27:18 +0000 (-0700) Subject: Take tokens as pointers, not references to pointers. X-Git-Tag: v9.4.0-rc1~769^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F13032%2Fhead;p=dealii.git Take tokens as pointers, not references to pointers. --- diff --git a/include/deal.II/base/work_stream.h b/include/deal.II/base/work_stream.h index 6c5e94adca..13e23c3f8b 100644 --- a/include/deal.II/base/work_stream.h +++ b/include/deal.II/base/work_stream.h @@ -517,7 +517,7 @@ namespace WorkStream worker), copier_exists = static_cast(std::function(copier))]( - ItemType *¤t_item) { + ItemType *current_item) { // we need to find an unused scratch data object in the list that // corresponds to the current thread and then mark it as used. if // we can't find one, create one @@ -619,7 +619,7 @@ namespace WorkStream auto tbb_copier_filter = tbb::make_filter( tbb::filter::serial, [copier = std::function(copier)]( - ItemType *¤t_item) { + ItemType *current_item) { if (copier) { // Initiate copying data. For the same reasons as in the worker