From fc559eeaa758b5a4e2402b9c20e3442d447f4020 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 da95e780f6..54b8c80bec 100644 --- a/include/deal.II/base/work_stream.h +++ b/include/deal.II/base/work_stream.h @@ -510,7 +510,7 @@ namespace WorkStream worker), copier_exist = 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 @@ -606,7 +606,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