From 1451cac5ecfa40148f0cf390f578031041494472 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 6 Dec 2021 11:27:18 -0700 Subject: [PATCH] Take tokens as pointers, not references to pointers. --- include/deal.II/base/work_stream.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5