]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Wolfgang's patch for thread management (use pointer to).
authorToby D. Young <tyoung@ippt.pan.pl>
Tue, 12 Nov 2013 14:26:18 +0000 (14:26 +0000)
committerToby D. Young <tyoung@ippt.pan.pl>
Tue, 12 Nov 2013 14:26:18 +0000 (14:26 +0000)
git-svn-id: https://svn.dealii.org/trunk@31633 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/base/thread_management.h

index 854aae1494f4f478cd614c0bbda4ec7dd5496d8a..ab3cde93876bda5cf63b77d093e29b3cc5e85d5a 100644 (file)
@@ -1487,7 +1487,7 @@ namespace Threads
       void start (const std_cxx1x::function<RT ()> &function)
       {
         ret_val.reset(new return_value<RT>());
-        call (function, ret_val);
+        call (function, *ret_val);
       }
 
       /**

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.