Commit 0efbd2f6 authored by Dominik Charousset's avatar Dominik Charousset

Fix compilation with logging enabled

parent 3a15ef9d
...@@ -155,7 +155,7 @@ scribe_ptr asio_multiplexer::new_scribe(asio_tcp_socket&& sock) { ...@@ -155,7 +155,7 @@ scribe_ptr asio_multiplexer::new_scribe(asio_tcp_socket&& sock) {
} }
scribe_ptr asio_multiplexer::new_scribe(native_socket fd) { scribe_ptr asio_multiplexer::new_scribe(native_socket fd) {
CAF_LOG_TRACE(CAF_ARG(self) << ", " << CAF_ARG(fd)); CAF_LOG_TRACE(CAF_ARG(fd));
boost::system::error_code ec; boost::system::error_code ec;
asio_tcp_socket sock{service()}; asio_tcp_socket sock{service()};
sock.assign(boost::asio::ip::tcp::v6(), fd, ec); sock.assign(boost::asio::ip::tcp::v6(), fd, ec);
......
...@@ -68,7 +68,7 @@ scribe_ptr test_multiplexer::new_scribe(native_socket) { ...@@ -68,7 +68,7 @@ scribe_ptr test_multiplexer::new_scribe(native_socket) {
} }
scribe_ptr test_multiplexer::new_scribe(connection_handle hdl) { scribe_ptr test_multiplexer::new_scribe(connection_handle hdl) {
CAF_LOG_TRACE(CAF_ARG(hdl) << CAF_ARG(port)); CAF_LOG_TRACE(CAF_ARG(hdl));
class impl : public scribe { class impl : public scribe {
public: public:
impl(connection_handle ch, test_multiplexer* mpx) : scribe(ch), mpx_(mpx) { impl(connection_handle ch, test_multiplexer* mpx) : scribe(ch), mpx_(mpx) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment