src: Updating code to compile with the latest ndn-cxx library
This commit includes updates against the latest Face API and replaces
uses of deprecated methods.
Change-Id: I33ad398d26f8faf9f9627ff329ce0936e0911ab2
diff --git a/tools/ndn-tlv-poke.cpp b/tools/ndn-tlv-poke.cpp
index f90b735..3f5a3b6 100644
--- a/tools/ndn-tlv-poke.cpp
+++ b/tools/ndn-tlv-poke.cpp
@@ -188,6 +188,7 @@
m_face.setInterestFilter(m_prefixName,
ndn::bind(&NdnTlvPoke::onInterest,
this, _1, _2, dataPacket),
+ ndn::RegisterPrefixSuccessCallback(),
ndn::bind(&NdnTlvPoke::onRegisterFailed,
this, _1, _2));
}