Change io_service to io_context
This was renamed a while back in boost to be compliant with the
std::executors proposal.
Change-Id: Id97c83116ee47c49076476a331588035c3894418
Signed-off-by: Ed Tanous <edtanous@google.com>
diff --git a/callback-manager/src/callback_manager.cpp b/callback-manager/src/callback_manager.cpp
index 2ecf357..d6a5dee 100644
--- a/callback-manager/src/callback_manager.cpp
+++ b/callback-manager/src/callback_manager.cpp
@@ -16,7 +16,7 @@
#include "callback_manager.hpp"
-#include <boost/asio/io_service.hpp>
+#include <boost/asio/io_context.hpp>
#include <boost/asio/steady_timer.hpp>
#include <boost/container/flat_map.hpp>
#include <sdbusplus/asio/connection.hpp>
@@ -351,7 +351,7 @@
int main(int argc, char** argv)
{
- boost::asio::io_service io;
+ boost::asio::io_context io;
auto conn = std::make_shared<sdbusplus::asio::connection>(io);
conn->request_name("xyz.openbmc_project.CallbackManager");
sdbusplus::asio::object_server objServer(conn);