model: Extending ContentStoreImpl interface to get access to the underlying policy
diff --git a/model/cs/content-store-impl.h b/model/cs/content-store-impl.h
index 9ae7e2e..403ceef 100644
--- a/model/cs/content-store-impl.h
+++ b/model/cs/content-store-impl.h
@@ -118,6 +118,12 @@
virtual Ptr<Entry>
Next (Ptr<Entry>);
+ const typename super::policy_container &
+ GetPolicy () const { return super::getPolicy (); }
+
+ typename super::policy_container &
+ GetPolicy () { return super::getPolicy (); }
+
private:
void
SetMaxSize (uint32_t maxSize);