src: Making use of DEPRECATED macro and updating library code not to use deprecated methods
Change-Id: Ibe17977e7fcbb759a26dbe1cfa3d472598e49bcc
diff --git a/examples/producer.cpp b/examples/producer.cpp
index d6ca248..acb214c 100644
--- a/examples/producer.cpp
+++ b/examples/producer.cpp
@@ -70,6 +70,7 @@
{
m_face.setInterestFilter("/localhost/testApp",
bind(&Producer::onInterest, this, _1, _2),
+ RegisterPrefixSuccessCallback(),
bind(&Producer::onRegisterFailed, this, _1, _2));
m_face.processEvents();
}