Add SyncPolicyManager
diff --git a/src/sync-policy-manager.h b/src/sync-policy-manager.h
index 418abc7..fac9b4a 100644
--- a/src/sync-policy-manager.h
+++ b/src/sync-policy-manager.h
@@ -58,7 +58,7 @@
bool isIntroducer);
inline void
- setWrapper(ndn::Wrapper* handler)
+ setWrapper(ndn::Ptr<ndn::Wrapper> handler)
{ m_handler = handler; }
private:
@@ -118,7 +118,7 @@
std::map<ndn::Name, ndn::security::Publickey> m_trustedProducers;
std::map<ndn::Name, SpecificPolicyRule> m_chatDataRules;
- ndn::Wrapper* m_handler;
+ ndn::Ptr<ndn::Wrapper> m_handler;
};
#endif