From eefb7a04313d73efc5b8bcf59372fd3434a605c8 Mon Sep 17 00:00:00 2001 From: Roland Kaufmann Date: Wed, 22 May 2013 21:25:29 +0200 Subject: [PATCH] Use boost::bind instead of std::bind to compile with C++03 --- opm/core/simulator/SimulatorIncompTwophase.hpp | 2 +- opm/core/simulator/SimulatorIncompTwophase_impl.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/opm/core/simulator/SimulatorIncompTwophase.hpp b/opm/core/simulator/SimulatorIncompTwophase.hpp index ccacd3b9..d1dc83ff 100644 --- a/opm/core/simulator/SimulatorIncompTwophase.hpp +++ b/opm/core/simulator/SimulatorIncompTwophase.hpp @@ -22,7 +22,7 @@ #include #include -#include // bind +#include #include struct UnstructuredGrid; diff --git a/opm/core/simulator/SimulatorIncompTwophase_impl.hpp b/opm/core/simulator/SimulatorIncompTwophase_impl.hpp index a3abc36b..02bba683 100644 --- a/opm/core/simulator/SimulatorIncompTwophase_impl.hpp +++ b/opm/core/simulator/SimulatorIncompTwophase_impl.hpp @@ -6,7 +6,7 @@ namespace Opm { template inline void SimulatorIncompTwophase::connect_timestep (T& t) { - connect_timestep_impl (boost::function0 (std::bind (callback, t))); + connect_timestep_impl (boost::function0 (boost::bind (callback, t))); } } /* namespace Opm */