In expressInterest, just take a pointer to the Closure, not a shared_ptr
diff --git a/ndn-cpp/face.cpp b/ndn-cpp/face.cpp
index eeaac00..c5be3d2 100644
--- a/ndn-cpp/face.cpp
+++ b/ndn-cpp/face.cpp
@@ -13,7 +13,7 @@
namespace ndn {
-void Face::expressInterest(const Name &name, const shared_ptr<Closure> &closure, const Interest *interestTemplate)
+void Face::expressInterest(const Name &name, Closure *closure, const Interest *interestTemplate)
{
Interest interest(name);
shared_ptr<vector<unsigned char> > encoding = interest.wireEncode();