In common.h, remove Ptr. In interest.h, etc. typedef InterestPtr and ConstInterestPtr, etc.
We will centralize and allow these to be typedef as boost::shared_ptr
or std::shared_ptr.
diff --git a/ndn-cpp/interest.h b/ndn-cpp/interest.h
index d929efa..1596b6d 100644
--- a/ndn-cpp/interest.h
+++ b/ndn-cpp/interest.h
@@ -20,6 +20,10 @@
namespace ndn {
+class Interest;
+typedef boost::shared_ptr<Interest> InterestPtr;
+typedef boost::shared_ptr<const Interest> ConstInterestPtr;
+
/**
* @brief Class abstracting operations with Interests (constructing and getting access to Interest fields)
*/
@@ -293,11 +297,9 @@
Hash m_publisherPublicKeyDigest;
Exclude m_exclude;
- Ptr<Blob> m_wire;
+ BlobPtr m_wire;
};
-typedef boost::shared_ptr<Interest> InterestPtr;
-
namespace Error
{
/**