]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Provide a copy constructor for the Task class. This should make
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 30 Sep 2013 13:26:55 +0000 (13:26 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 30 Sep 2013 13:26:55 +0000 (13:26 +0000)
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

index 49bf60ddf5d8fc58df182ddcc33f7204dd803e76..50ca4bb4c970d98762ff265b623ff27bc2734388 100644 (file)
@@ -4423,6 +4423,16 @@ namespace Threads
       task_descriptor->queue_task ();
     }
 
+
+    /**
+     * Copy constructor.
+     */
+    Task (const Task<RT> &t)
+    :
+    task_descriptor (t.task_descriptor)
+    {}
+
+
     /**
      * Default constructor. You
      * can't do much with a task

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.