Remove deprecated asio names
io_service was deprecated long ago. Replace
boost::io_service -> boost::io_context
and enable BOOST_ASIO_NO_DEPRECATED so we have more warning for this in
the future.
Change-Id: I189b28c05f5017ef9302e79b35d37aa614613f30
Signed-off-by: Ed Tanous <ed@tanous.net>
diff --git a/cold-redundancy/cold_redundancy.cpp b/cold-redundancy/cold_redundancy.cpp
index c912ed2..42f1c45 100644
--- a/cold-redundancy/cold_redundancy.cpp
+++ b/cold-redundancy/cold_redundancy.cpp
@@ -42,7 +42,7 @@
} // namespace
ColdRedundancy::ColdRedundancy(
- boost::asio::io_service& io,
+ boost::asio::io_context& io,
std::shared_ptr<sdbusplus::asio::connection>& systemBus) :
filterTimer(io), systemBus(systemBus)
{