ndnSIM-v2: Initial implementation
- Name, name::Components, Interest, Data now use ndn-cxx
- Ptr is replaced with shared_ptr for ndn-cxx structures
Credits for the change also to Mickey Sweat, Wentao Shang, and Alex Afanasyev
diff --git a/apps/ndn-producer.hpp b/apps/ndn-producer.hpp
index 11ebc56..e414f4e 100644
--- a/apps/ndn-producer.hpp
+++ b/apps/ndn-producer.hpp
@@ -22,6 +22,8 @@
#ifndef NDN_PRODUCER_H
#define NDN_PRODUCER_H
+#include "ns3/ndnSIM/model/ndn-common.hpp"
+
#include "ndn-app.hpp"
#include "ns3/ptr.h"
@@ -49,7 +51,7 @@
// inherited from NdnApp
void
- OnInterest(Ptr<const Interest> interest);
+ OnInterest(shared_ptr<const Interest> interest);
protected:
// inherited from Application base class.