Switch to Face::getIoContext()
Change-Id: Ice05b0b8e9af4ed4651abcf6fc4ea6b84c34da7c
diff --git a/tools/chunks/catchunks/pipeline-interests-adaptive.cpp b/tools/chunks/catchunks/pipeline-interests-adaptive.cpp
index 891b94e..d4376b7 100644
--- a/tools/chunks/catchunks/pipeline-interests-adaptive.cpp
+++ b/tools/chunks/catchunks/pipeline-interests-adaptive.cpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2016-2022, Regents of the University of California,
+ * Copyright (c) 2016-2023, Regents of the University of California,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University.
*
@@ -29,7 +29,6 @@
#include "pipeline-interests-adaptive.hpp"
#include "data-fetcher.hpp"
-#include <cmath>
#include <iomanip>
namespace ndn::chunks {
@@ -41,7 +40,7 @@
, m_cwnd(m_options.initCwnd)
, m_ssthresh(m_options.initSsthresh)
, m_rttEstimator(rttEstimator)
- , m_scheduler(m_face.getIoService())
+ , m_scheduler(m_face.getIoContext())
{
}