Use boost::bind instead of std::bind to compile with C++03

This commit is contained in:
Roland Kaufmann
2013-05-22 21:25:29 +02:00
parent d6c2e52d63
commit eefb7a0431
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@
#include <boost/shared_ptr.hpp>
#include <boost/function.hpp>
#include <functional> // bind
#include <boost/bind.hpp>
#include <vector>
struct UnstructuredGrid;

View File

@@ -6,7 +6,7 @@ namespace Opm {
template <typename T, void (T::*callback)()>
inline void SimulatorIncompTwophase::connect_timestep (T& t) {
connect_timestep_impl (boost::function0<void> (std::bind (callback, t)));
connect_timestep_impl (boost::function0<void> (boost::bind (callback, t)));
}
} /* namespace Opm */