build: require boost >= 1.71.0
Refs: #5276
Change-Id: Ie428541639dcf1113acfb9e9d0a80f9be87d6cd3
diff --git a/tests/daemon/rib-io-fixture.hpp b/tests/daemon/rib-io-fixture.hpp
index e825f7d..b280535 100644
--- a/tests/daemon/rib-io-fixture.hpp
+++ b/tests/daemon/rib-io-fixture.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2014-2022, Regents of the University of California,
+ * Copyright (c) 2014-2023, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University,
@@ -34,7 +34,8 @@
namespace nfd::tests {
-/** \brief A base test fixture that provides both main and RIB io_service.
+/**
+ * \brief A base test fixture that provides both main and RIB io_context.
*/
class RibIoFixture : public GlobalIoFixture
{
@@ -44,27 +45,31 @@
~RibIoFixture();
protected:
- /** \brief Poll main and RIB thread io_service to process all pending I/O events.
+ /**
+ * \brief Poll main and RIB thread io_context to process all pending I/O events.
*
* This call will execute all pending I/O events, including events that are posted
- * inside the processing event, i.e., main and RIB thread io_service will be polled
+ * inside the processing event, i.e., main and RIB thread io_context will be polled
* repeatedly until all pending events are processed.
*
- * \warning Must be called from the main thread
+ * \warning Must be called from the main thread.
*/
void
poll();
protected:
- /** \brief Pointer to global main io_service.
+ /**
+ * \brief Pointer to global main io_context.
*/
- boost::asio::io_service* g_mainIo = nullptr;
+ boost::asio::io_context* g_mainIo = nullptr;
- /** \brief Pointer to global RIB io_service.
+ /**
+ * \brief Pointer to global RIB io_context.
*/
- boost::asio::io_service* g_ribIo = nullptr;
+ boost::asio::io_context* g_ribIo = nullptr;
- /** \brief Global RIB thread.
+ /**
+ * \brief Global RIB thread.
*/
std::thread g_ribThread;
@@ -76,7 +81,8 @@
std::condition_variable m_ribPollEndCv;
};
-/** \brief RibIoFixture that also overrides steady clock and system clock.
+/**
+ * \brief RibIoFixture that also overrides steady clock and system clock.
*/
class RibIoTimeFixture : public ClockFixture, public RibIoFixture
{