]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Simplify code. 1414/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 21 Aug 2015 21:04:11 +0000 (16:04 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 21 Aug 2015 21:04:11 +0000 (16:04 -0500)
include/deal.II/base/thread_management.h

index 1abe251e5be87a34434acf2d76f5a473733c60ca..66060f3384487df59023c48a4249355cc8df58af 100644 (file)
@@ -2957,9 +2957,7 @@ namespace Threads
     {
       // create a task descriptor and tell it to queue itself up with
       // the scheduling system
-      task_descriptor =
-        std_cxx11::shared_ptr<internal::TaskDescriptor<RT> >
-        (new internal::TaskDescriptor<RT>(function_object));
+      task_descriptor.reset (new internal::TaskDescriptor<RT>(function_object));
       task_descriptor->queue_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.