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/rib/route.hpp b/daemon/rib/route.hpp
index f38fbab..92df470 100644
--- a/daemon/rib/route.hpp
+++ b/daemon/rib/route.hpp
@@ -53,14 +53,14 @@
*/
Route(const ndn::PrefixAnnouncement& ann, uint64_t faceId);
- const ndn::util::scheduler::EventId&
+ const scheduler::EventId&
getExpirationEvent() const
{
return m_expirationEvent;
}
void
- setExpirationEvent(const ndn::util::scheduler::EventId& eid)
+ setExpirationEvent(const scheduler::EventId& eid)
{
m_expirationEvent = eid;
}
@@ -101,7 +101,7 @@
time::steady_clock::TimePoint annExpires;
private:
- ndn::util::scheduler::EventId m_expirationEvent;
+ scheduler::EventId m_expirationEvent;
};
bool