From 3e2e98652abf7afbbbf2a2899eade5897386e8ee Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 21 Aug 2015 16:04:11 -0500 Subject: [PATCH] Simplify code. --- include/deal.II/base/thread_management.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/deal.II/base/thread_management.h b/include/deal.II/base/thread_management.h index 1abe251e5b..66060f3384 100644 --- a/include/deal.II/base/thread_management.h +++ b/include/deal.II/base/thread_management.h @@ -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 > - (new internal::TaskDescriptor(function_object)); + task_descriptor.reset (new internal::TaskDescriptor(function_object)); task_descriptor->queue_task (); } -- 2.39.5