commit
e12c07eb02
|
|
@ -152,8 +152,8 @@ private:
|
|||
STRAND_SOCKET_HANDLER(
|
||||
boost::bind(&Watcher::read_handler,
|
||||
this,
|
||||
boost::placeholders::_1,
|
||||
boost::placeholders::_2,
|
||||
boost::arg<1>(),
|
||||
boost::arg<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,
|
||||
boost::arg<1>(),
|
||||
boost::arg<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,
|
||||
boost::arg<1>(),
|
||||
boost::arg<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,
|
||||
boost::arg<1>(),
|
||||
boost::arg<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,
|
||||
boost::arg<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,
|
||||
boost::arg<1>(),
|
||||
// C++17 has 'weak_from_this()' support.
|
||||
#if __cplusplus >= 201701L
|
||||
weak_from_this(),
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
CPP = g++
|
||||
CPP = g++
|
||||
CPPFLAGS = -Wall -c -I. -O2 -flto -std=c++11 -g
|
||||
LD = g++
|
||||
LD = g++
|
||||
LDFLAGS = -lamqpcpp -lcopernica_event -lcopernica_network -lev
|
||||
RESULT = a.out
|
||||
SOURCES = $(wildcard *.cpp)
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
*
|
||||
* @author Gavin Smith <gavin.smith@coralbay.tv>
|
||||
*
|
||||
* Compile with g++ libboostasio.cpp -o boost_test -lpthread -lboost_system -lamqpcpp
|
||||
* Compile with g++ -std=c++14 libboostasio.cpp -o boost_test -lpthread -lboost_system -lamqpcpp
|
||||
*/
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue