boost::placeholders in global namespace is deprecated.
This commit is contained in:
parent
93255e2de6
commit
41019cb943
|
|
@ -141,8 +141,8 @@ protected:
|
||||||
{
|
{
|
||||||
auto fn = boost::bind(&Watcher::read_handler,
|
auto fn = boost::bind(&Watcher::read_handler,
|
||||||
this,
|
this,
|
||||||
_1,
|
boost::placeholders::_1,
|
||||||
_2,
|
boost::placeholders::_2,
|
||||||
PTR_FROM_THIS(Watcher),
|
PTR_FROM_THIS(Watcher),
|
||||||
connection,
|
connection,
|
||||||
fd);
|
fd);
|
||||||
|
|
@ -159,8 +159,8 @@ protected:
|
||||||
{
|
{
|
||||||
auto fn = boost::bind(&Watcher::write_handler,
|
auto fn = boost::bind(&Watcher::write_handler,
|
||||||
this,
|
this,
|
||||||
_1,
|
boost::placeholders::_1,
|
||||||
_2,
|
boost::placeholders::_2,
|
||||||
PTR_FROM_THIS(Watcher),
|
PTR_FROM_THIS(Watcher),
|
||||||
connection,
|
connection,
|
||||||
fd);
|
fd);
|
||||||
|
|
@ -346,7 +346,7 @@ protected:
|
||||||
{
|
{
|
||||||
const auto fn = boost::bind(&Timer::timeout,
|
const auto fn = boost::bind(&Timer::timeout,
|
||||||
this,
|
this,
|
||||||
_1,
|
boost::placeholders::_1,
|
||||||
PTR_FROM_THIS(Timer),
|
PTR_FROM_THIS(Timer),
|
||||||
connection,
|
connection,
|
||||||
timeout);
|
timeout);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue