Compilation fixes after upgrade to NFD 0.6.6 and removal of old-style CS
Change-Id: I5472ae71675d8419d8d6c70990182ef028803087
diff --git a/tests/unit-tests/ndn-cxx/face.t.cpp b/tests/unit-tests/ndn-cxx/face.t.cpp
index 6eb39c2..32a1c1c 100644
--- a/tests/unit-tests/ndn-cxx/face.t.cpp
+++ b/tests/unit-tests/ndn-cxx/face.t.cpp
@@ -220,9 +220,9 @@
m_face.expressInterest(Interest(Name(name).appendSegment(seqNo)).setCanBePrefix(true), std::bind([=] (const Data& data) {
onData(data.getName());
- m_event = m_scheduler.scheduleEvent(time::seconds(1),
- std::bind(&MultipleInterest::expressNextInterest, this,
- name, seqNo + 1, onData, onTimeout, onNack));
+ m_event = m_scheduler.schedule(time::seconds(1),
+ std::bind(&MultipleInterest::expressNextInterest, this,
+ name, seqNo + 1, onData, onTimeout, onNack));
}, _2),
std::bind(onNack),
std::bind(onTimeout));