build: require boost >= 1.71.0
Refs: #5276
Change-Id: Ib62b24b041e21b2c017cd9c290f7d5dc09003d63
diff --git a/tests/ping/integrated.t.cpp b/tests/ping/integrated.t.cpp
index 6994beb..4a85fda 100644
--- a/tests/ping/integrated.t.cpp
+++ b/tests/ping/integrated.t.cpp
@@ -25,6 +25,7 @@
#include "tests/key-chain-fixture.hpp"
#include <ndn-cxx/util/dummy-client-face.hpp>
+#include <boost/asio/post.hpp>
namespace ndn::ping::tests {
@@ -53,7 +54,7 @@
void
receive(DummyClientFace& face, const Packet& pkt)
{
- m_io.post([=, &face] {
+ boost::asio::post(m_io, [=, &face] {
if (!wantLoss) {
face.receive(pkt);
}