Change io_service to io_context
This was renamed a while back in boost to be compliant with the
std::executors proposal.
Change-Id: I2bda7bf0e3e010a4162073b579bb744901597062
Signed-off-by: Ed Tanous <edtanous@google.com>
diff --git a/ipmbbridged.hpp b/ipmbbridged.hpp
index 052c193..f13ec8f 100644
--- a/ipmbbridged.hpp
+++ b/ipmbbridged.hpp
@@ -15,7 +15,7 @@
#include "ipmbdefines.hpp"
-#include <boost/asio/io_service.hpp>
+#include <boost/asio/io_context.hpp>
#include <boost/asio/steady_timer.hpp>
#include <boost/container/flat_set.hpp>
#include <optional>
@@ -261,7 +261,7 @@
class IpmbChannel
{
public:
- IpmbChannel(boost::asio::io_service &io, uint8_t ipmbBmcSlaveAddress,
+ IpmbChannel(boost::asio::io_context &io, uint8_t ipmbBmcSlaveAddress,
uint8_t ipmbRqSlaveAddress, uint8_t channelIdx,
std::shared_ptr<IpmbCommandFilter> commandFilter);