From: Toby D. Young Date: Tue, 12 Nov 2013 14:26:18 +0000 (+0000) Subject: Wolfgang's patch for thread management (use pointer to). X-Git-Tag: v8.1.0~314 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7c7fd126a98702a8c9dabf3390245e18b057014;p=dealii.git Wolfgang's patch for thread management (use pointer to). git-svn-id: https://svn.dealii.org/trunk@31633 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 854aae1494..ab3cde9387 100644 --- a/deal.II/include/deal.II/base/thread_management.h +++ b/deal.II/include/deal.II/base/thread_management.h @@ -1487,7 +1487,7 @@ namespace Threads void start (const std_cxx1x::function &function) { ret_val.reset(new return_value()); - call (function, ret_val); + call (function, *ret_val); } /**