Fix compile

remove ?boost::placeholders::' .
This commit is contained in:
Alessandro Pischedda 2018-01-17 15:20:04 +01:00 committed by GitHub
parent 11b2c7914f
commit 97124dc604
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 10 deletions

View File

@ -152,8 +152,8 @@ private:
STRAND_SOCKET_HANDLER(
boost::bind(&Watcher::read_handler,
this,
boost::placeholders::_1,
boost::placeholders::_2,
_1,
_2,
// C++17 has 'weak_from_this()' support.
#if __cplusplus >= 201701L
weak_from_this(),
@ -197,8 +197,8 @@ private:
STRAND_SOCKET_HANDLER(
boost::bind(&Watcher::write_handler,
this,
boost::placeholders::_1,
boost::placeholders::_2,
_1,
_2,
// C++17 has 'weak_from_this()' support.
#if __cplusplus >= 201701L
weak_from_this(),
@ -266,8 +266,8 @@ private:
STRAND_SOCKET_HANDLER(
boost::bind(&Watcher::read_handler,
this,
boost::placeholders::_1,
boost::placeholders::_2,
_1,
_2,
// C++17 has 'weak_from_this()' support.
#if __cplusplus >= 201701L
weak_from_this(),
@ -290,8 +290,8 @@ private:
STRAND_SOCKET_HANDLER(
boost::bind(&Watcher::write_handler,
this,
boost::placeholders::_1,
boost::placeholders::_2,
_1,
_2,
// C++17 has 'weak_from_this()' support.
#if __cplusplus >= 201701L
weak_from_this(),
@ -360,7 +360,7 @@ private:
_timer.async_wait(STRAND_TIMER_HANDLER(
boost::bind(&Timer::timeout,
this,
boost::placeholders::_1,
_1,
// C++17 has 'weak_from_this()' support.
#if __cplusplus >= 201701L
weak_from_this(),
@ -427,7 +427,7 @@ private:
_timer.async_wait(STRAND_TIMER_HANDLER(
boost::bind(&Timer::timeout,
this,
boost::placeholders::_1,
_1,
// C++17 has 'weak_from_this()' support.
#if __cplusplus >= 201701L
weak_from_this(),