From d3da0e62ec5055edad0170d3e7bbee8bf059a1f6 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 30 May 2025 11:32:32 -0600 Subject: [PATCH] Disambiguate one of the WorkStream::run() overloads. --- include/deal.II/base/work_stream.h | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/include/deal.II/base/work_stream.h b/include/deal.II/base/work_stream.h index 3135a62e92..c62bc450d8 100644 --- a/include/deal.II/base/work_stream.h +++ b/include/deal.II/base/work_stream.h @@ -1579,12 +1579,16 @@ namespace WorkStream * both of which return iterators to elements that form the bounds of the * range. */ - template >> + template < + typename Worker, + typename Copier, + typename IteratorRangeType, + typename ScratchData, + typename CopyData, + typename = std::enable_if_t< + has_begin_and_end && + !std::is_same_v>>> void run(IteratorRangeType iterator_range, Worker worker, @@ -1813,11 +1817,15 @@ namespace WorkStream * both of which return iterators to elements that form the bounds of the * range. */ - template >> + template < + typename MainClass, + typename IteratorRangeType, + typename ScratchData, + typename CopyData, + typename = std::enable_if_t< + has_begin_and_end && + !std::is_same_v>>> void run( IteratorRangeType iterator_range, -- 2.39.5