parent
11b2c7914f
commit
97124dc604
|
|
@ -152,8 +152,8 @@ private:
|
||||||
STRAND_SOCKET_HANDLER(
|
STRAND_SOCKET_HANDLER(
|
||||||
boost::bind(&Watcher::read_handler,
|
boost::bind(&Watcher::read_handler,
|
||||||
this,
|
this,
|
||||||
boost::placeholders::_1,
|
_1,
|
||||||
boost::placeholders::_2,
|
_2,
|
||||||
// C++17 has 'weak_from_this()' support.
|
// C++17 has 'weak_from_this()' support.
|
||||||
#if __cplusplus >= 201701L
|
#if __cplusplus >= 201701L
|
||||||
weak_from_this(),
|
weak_from_this(),
|
||||||
|
|
@ -197,8 +197,8 @@ private:
|
||||||
STRAND_SOCKET_HANDLER(
|
STRAND_SOCKET_HANDLER(
|
||||||
boost::bind(&Watcher::write_handler,
|
boost::bind(&Watcher::write_handler,
|
||||||
this,
|
this,
|
||||||
boost::placeholders::_1,
|
_1,
|
||||||
boost::placeholders::_2,
|
_2,
|
||||||
// C++17 has 'weak_from_this()' support.
|
// C++17 has 'weak_from_this()' support.
|
||||||
#if __cplusplus >= 201701L
|
#if __cplusplus >= 201701L
|
||||||
weak_from_this(),
|
weak_from_this(),
|
||||||
|
|
@ -266,8 +266,8 @@ private:
|
||||||
STRAND_SOCKET_HANDLER(
|
STRAND_SOCKET_HANDLER(
|
||||||
boost::bind(&Watcher::read_handler,
|
boost::bind(&Watcher::read_handler,
|
||||||
this,
|
this,
|
||||||
boost::placeholders::_1,
|
_1,
|
||||||
boost::placeholders::_2,
|
_2,
|
||||||
// C++17 has 'weak_from_this()' support.
|
// C++17 has 'weak_from_this()' support.
|
||||||
#if __cplusplus >= 201701L
|
#if __cplusplus >= 201701L
|
||||||
weak_from_this(),
|
weak_from_this(),
|
||||||
|
|
@ -290,8 +290,8 @@ private:
|
||||||
STRAND_SOCKET_HANDLER(
|
STRAND_SOCKET_HANDLER(
|
||||||
boost::bind(&Watcher::write_handler,
|
boost::bind(&Watcher::write_handler,
|
||||||
this,
|
this,
|
||||||
boost::placeholders::_1,
|
_1,
|
||||||
boost::placeholders::_2,
|
_2,
|
||||||
// C++17 has 'weak_from_this()' support.
|
// C++17 has 'weak_from_this()' support.
|
||||||
#if __cplusplus >= 201701L
|
#if __cplusplus >= 201701L
|
||||||
weak_from_this(),
|
weak_from_this(),
|
||||||
|
|
@ -360,7 +360,7 @@ private:
|
||||||
_timer.async_wait(STRAND_TIMER_HANDLER(
|
_timer.async_wait(STRAND_TIMER_HANDLER(
|
||||||
boost::bind(&Timer::timeout,
|
boost::bind(&Timer::timeout,
|
||||||
this,
|
this,
|
||||||
boost::placeholders::_1,
|
_1,
|
||||||
// C++17 has 'weak_from_this()' support.
|
// C++17 has 'weak_from_this()' support.
|
||||||
#if __cplusplus >= 201701L
|
#if __cplusplus >= 201701L
|
||||||
weak_from_this(),
|
weak_from_this(),
|
||||||
|
|
@ -427,7 +427,7 @@ private:
|
||||||
_timer.async_wait(STRAND_TIMER_HANDLER(
|
_timer.async_wait(STRAND_TIMER_HANDLER(
|
||||||
boost::bind(&Timer::timeout,
|
boost::bind(&Timer::timeout,
|
||||||
this,
|
this,
|
||||||
boost::placeholders::_1,
|
_1,
|
||||||
// C++17 has 'weak_from_this()' support.
|
// C++17 has 'weak_from_this()' support.
|
||||||
#if __cplusplus >= 201701L
|
#if __cplusplus >= 201701L
|
||||||
weak_from_this(),
|
weak_from_this(),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue