From 74515f81a733f5331bced4787f1fd3433b419e0f Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 30 Sep 2013 13:26:55 +0000 Subject: [PATCH] Provide a copy constructor for the Task class. This should make Intel ICC happy. git-svn-id: https://svn.dealii.org/trunk@31029 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/base/thread_management.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/deal.II/include/deal.II/base/thread_management.h b/deal.II/include/deal.II/base/thread_management.h index 49bf60ddf5..50ca4bb4c9 100644 --- a/deal.II/include/deal.II/base/thread_management.h +++ b/deal.II/include/deal.II/base/thread_management.h @@ -4423,6 +4423,16 @@ namespace Threads task_descriptor->queue_task (); } + + /** + * Copy constructor. + */ + Task (const Task &t) + : + task_descriptor (t.task_descriptor) + {} + + /** * Default constructor. You * can't do much with a task -- 2.39.5