From a2832aec0a4f46a800d9cccde57ee992488ee141 Mon Sep 17 00:00:00 2001 From: maier Date: Fri, 18 Oct 2013 09:36:34 +0000 Subject: [PATCH] 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 --- deal.II/examples/step-13/step-13.cc | 4 ++-- deal.II/examples/step-14/step-14.cc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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); -- 2.39.5