diff options
Diffstat (limited to 'src/lib/process/io_service_signal.cc')
-rw-r--r-- | src/lib/process/io_service_signal.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/process/io_service_signal.cc b/src/lib/process/io_service_signal.cc index 76bbd54a02..6c14e9de56 100644 --- a/src/lib/process/io_service_signal.cc +++ b/src/lib/process/io_service_signal.cc @@ -10,10 +10,10 @@ #include <process/io_service_signal.h> #include <exceptions/exceptions.h> -#include <boost/bind.hpp> #include <boost/enable_shared_from_this.hpp> #include <boost/noncopyable.hpp> #include <boost/asio/signal_set.hpp> +#include <functional> using namespace isc::asiolink; @@ -82,8 +82,9 @@ IOSignalSetImpl::callback(const boost::system::error_code& ec, int signum) { void IOSignalSetImpl::install() { - signal_set_.async_wait(boost::bind(&IOSignalSetImpl::callback, - shared_from_this(), _1, _2)); + using namespace std::placeholders; + signal_set_.async_wait(std::bind(&IOSignalSetImpl::callback, + shared_from_this(), _1, _2)); } void |