From: kronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Date: Sun, 25 Aug 2013 19:19:51 +0000 (+0000)
Subject: Fix tutorial program
X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2fa0ac228f5bcb85d218188eb536c3c6fb5b0db;p=dealii-svn.git

Fix tutorial program

git-svn-id: https://svn.dealii.org/trunk@30485 0785d39b-7218-0410-832d-ea1e28bc413d
---

diff --git a/deal.II/examples/step-51/step-51.cc b/deal.II/examples/step-51/step-51.cc
index 1f838c2afd..6de52e80dd 100644
--- a/deal.II/examples/step-51/step-51.cc
+++ b/deal.II/examples/step-51/step-51.cc
@@ -896,8 +896,6 @@ Step51<dim>::postprocess()
     const UpdateFlags flags ( update_values | update_gradients |
                               update_JxW_values);
 
-    EmptyData task_data;
-
     PostProcessScratchData scratch (fe_u_post, fe_local,
                                     quadrature_formula,
                                     local_flags,
@@ -905,11 +903,12 @@ Step51<dim>::postprocess()
 
     WorkStream::run(dof_handler_u_post.begin_active(),
                     dof_handler_u_post.end(),
-                    *this,
-                    &Step51<dim>::postprocess_one_cell,
-                    std_cxx1x::function<unsigned int>(),
+                    std_cxx1x::bind (&Step51<dim>::postprocess_one_cell,
+                                     std_cxx1x::ref(*this),
+                                     std_cxx1x::_1, std_cxx1x::_2, std_cxx1x::_3),
+                    std_cxx1x::function<void(const unsigned int&)>(),
                     scratch,
-                    task_data);
+                    0U);
   }
 
   // Compute some convergence rates, etc., and add to a table