core+daemon: eliminate scheduler::{schedule,cancel} wrappers
Also move core/global-io.hpp to daemon/global.hpp
Refs: #4528, #4883
Change-Id: I0b99029f1a19d7451aab57099cd3303b7eb42ff3
diff --git a/daemon/mgmt/rib-manager.hpp b/daemon/mgmt/rib-manager.hpp
index 745cfa2..788a1d0 100644
--- a/daemon/mgmt/rib-manager.hpp
+++ b/daemon/mgmt/rib-manager.hpp
@@ -51,8 +51,7 @@
{
public:
RibManager(rib::Rib& rib, ndn::Face& face, ndn::KeyChain& keyChain,
- ndn::nfd::Controller& nfdController, Dispatcher& dispatcher,
- ndn::util::Scheduler& scheduler);
+ ndn::nfd::Controller& nfdController, Dispatcher& dispatcher, Scheduler& scheduler);
/**
* @brief Apply localhost_security configuration.
@@ -246,14 +245,14 @@
ndn::KeyChain& m_keyChain;
ndn::nfd::Controller& m_nfdController;
Dispatcher& m_dispatcher;
- ndn::util::Scheduler& m_scheduler;
+ Scheduler& m_scheduler;
ndn::nfd::FaceMonitor m_faceMonitor;
ndn::ValidatorConfig m_localhostValidator;
ndn::ValidatorConfig m_localhopValidator;
bool m_isLocalhopEnabled;
- ndn::util::scheduler::ScopedEventId m_activeFaceFetchEvent;
+ scheduler::ScopedEventId m_activeFaceFetchEvent;
using FaceIdSet = std::set<uint64_t>;
FaceIdSet m_registeredFaces; ///< contains FaceIds with one or more Routes in the RIB
};