From: Matthias Maier Date: Fri, 18 Oct 2013 09:36:34 +0000 (+0000) Subject: Use std_cxx1x::bind instead of std::bind which is not available in non C++11 mode X-Git-Tag: v8.1.0~577 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ff7dbaca584df0c54f71e7412b19d21ae19cfb6;p=dealii.git Use std_cxx1x::bind instead of std::bind which is not available in non C++11 mode git-svn-id: https://svn.dealii.org/trunk@31293 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-13/step-13.cc b/deal.II/examples/step-13/step-13.cc index eea40b8811..d2b2693b4b 100644 --- a/deal.II/examples/step-13/step-13.cc +++ b/deal.II/examples/step-13/step-13.cc @@ -775,8 +775,8 @@ namespace Step13 Assembler::Scratch scratch; Assembler::CopyData copy_data; WorkStream::run(dof_handler.begin_active(),dof_handler.end(), - std::bind(&Solver::assemble_matrix,this,std_cxx1x::_1,std_cxx1x::_2,std_cxx1x::_3), - std::bind(&Solver::copy_local_to_global,this,std_cxx1x::_1,std_cxx1x::ref(linear_system)), + std_cxx1x::bind(&Solver::assemble_matrix,this,std_cxx1x::_1,std_cxx1x::_2,std_cxx1x::_3), + std_cxx1x::bind(&Solver::copy_local_to_global,this,std_cxx1x::_1,std_cxx1x::ref(linear_system)), scratch,copy_data); // While the new threads assemble the system matrix, we can already diff --git a/deal.II/examples/step-14/step-14.cc b/deal.II/examples/step-14/step-14.cc index 934e0a9dd3..575dfe9469 100644 --- a/deal.II/examples/step-14/step-14.cc +++ b/deal.II/examples/step-14/step-14.cc @@ -575,8 +575,8 @@ namespace Step14 Assembler::Scratch scratch; Assembler::CopyData copy_data; WorkStream::run(dof_handler.begin_active(),dof_handler.end(), - std::bind(&Solver::assemble_matrix,this,std_cxx1x::_1,std_cxx1x::_2,std_cxx1x::_3), - std::bind(&Solver::copy_local_to_global,this,std_cxx1x::_1,std_cxx1x::ref(linear_system)), + std_cxx1x::bind(&Solver::assemble_matrix,this,std_cxx1x::_1,std_cxx1x::_2,std_cxx1x::_3), + std_cxx1x::bind(&Solver::copy_local_to_global,this,std_cxx1x::_1,std_cxx1x::ref(linear_system)), scratch,copy_data);