]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Work around one problem with xlC
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 7 Mar 2003 21:09:24 +0000 (21:09 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 7 Mar 2003 21:09:24 +0000 (21:09 +0000)
git-svn-id: https://svn.dealii.org/trunk@7285 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/numerics/data_out_rotation.cc

index c91ef5c30ddc8e9bcdeb909af8b2b2b0a64970d1..5a1a06e98cde68e393973b49b269b46d78b6592e 100644 (file)
@@ -385,10 +385,12 @@ void DataOutRotation<dim>::build_patches (const unsigned int n_patches_per_circl
 
   if (DEAL_II_USE_MT)
     {
-      Threads::ThreadGroup<> threads;  
+      void (DataOutRotation<dim>::*p) (Data)
+        = &DataOutRotation<dim>::build_some_patches;
+
+      Threads::ThreadGroup<> threads;
       for (unsigned int l=0;l<n_threads;++l)
-        threads += Threads::spawn (*this, &DataOutRotation<dim>::build_some_patches)
-                   (thread_data[l]);
+        threads += Threads::spawn (*this, p) (thread_data[l]);
       threads.join_all();
     }
   else

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.