From: Wolfgang Bangerth Date: Fri, 21 Aug 2015 21:04:11 +0000 (-0500) Subject: Simplify code. X-Git-Tag: v8.4.0-rc2~560^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e2e98652abf7afbbbf2a2899eade5897386e8ee;p=dealii.git Simplify code. --- 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 (); }