read: auto-register prefixes for inserted data
Change-Id: Iebddca056a4c74f179f7af7203881adfe1cba777
refs: #4247
diff --git a/src/handles/base-handle.hpp b/src/handles/base-handle.hpp
index a14360a..5d12076 100644
--- a/src/handles/base-handle.hpp
+++ b/src/handles/base-handle.hpp
@@ -44,8 +44,8 @@
public:
BaseHandle(Face& face, RepoStorage& storageHandle, KeyChain& keyChain,
Scheduler& scheduler)
- : m_face(face)
- , m_storageHandle(storageHandle)
+ : m_storageHandle(storageHandle)
+ , m_face(face)
, m_keyChain(keyChain)
, m_scheduler(scheduler)
// , m_storeindex(storeindex)
@@ -101,10 +101,11 @@
void
extractParameter(const Interest& interest, const Name& prefix, RepoCommandParameter& parameter);
-private:
-
- Face& m_face;
+protected:
RepoStorage& m_storageHandle;
+
+private:
+ Face& m_face;
KeyChain& m_keyChain;
Scheduler& m_scheduler;
// RepoStorage& m_storeindex;