From: Wolfgang Bangerth Date: Mon, 30 Sep 2013 13:26:55 +0000 (+0000) Subject: Provide a copy constructor for the Task class. This should make X-Git-Tag: v8.1.0~680 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74515f81a733f5331bced4787f1fd3433b419e0f;p=dealii.git 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 --- 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