Added expressInterest overload without interestTemplate
diff --git a/ndn-cpp/NDN.hpp b/ndn-cpp/NDN.hpp
index 5f8aff1..025ece8 100644
--- a/ndn-cpp/NDN.hpp
+++ b/ndn-cpp/NDN.hpp
@@ -43,6 +43,11 @@
*/
void expressInterest(const Name &name, const ptr_lib::shared_ptr<Closure> &closure, const Interest *interestTemplate);
+ void expressInterest(const Name &name, const ptr_lib::shared_ptr<Closure> &closure)
+ {
+ expressInterest(name, closure, 0);
+ }
+
const char *getHost() const { return host_.c_str(); }
unsigned short getPort() const { return port_; }