Skip to content

Commit 00f86a2

Browse files
committed
Boost: Should use io_context not io_service
1 parent 13559d2 commit 00f86a2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Transports/TCP.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class TCP : public TransportInterface
4949

5050
private:
5151
/// Boost Asio I/O functionality
52-
boost::asio::io_service mIoService;
52+
boost::asio::io_context mIoService;
5353

5454
/// TCP socket
5555
boost::asio::ip::tcp::socket mSocket;

src/Transports/UDP.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class UDP : public TransportInterface
4949

5050
private:
5151
/// Boost Asio I/O functionality
52-
boost::asio::io_service mIoService;
52+
boost::asio::io_context mIoService;
5353

5454
/// UDP socket
5555
boost::asio::ip::udp::socket mSocket;

src/Transports/Unix.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class Unix : public TransportInterface
4747

4848
private:
4949
/// Boost Asio I/O functionality
50-
boost::asio::io_service mIoService;
50+
boost::asio::io_context mIoService;
5151
#if defined(BOOST_ASIO_HAS_LOCAL_SOCKETS)
5252
/// Unix socket
5353
boost::asio::local::datagram_protocol::socket mSocket;

0 commit comments

Comments
 (0)