Auto-register prefixes for inserted data
Now it is actually working
Change-Id: Ifcc46a765fa399b10d05f6a98c23c753f57d9f0a
Refs: #4247
diff --git a/src/handles/read-handle.hpp b/src/handles/read-handle.hpp
index a2bbd86..8ec67a2 100644
--- a/src/handles/read-handle.hpp
+++ b/src/handles/read-handle.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
-/**
- * Copyright (c) 2014-2017, Regents of the University of California.
+/*
+ * Copyright (c) 2014-2018, Regents of the University of California.
*
* This file is part of NDN repo-ng (Next generation of NDN repository).
* See AUTHORS.md for complete list of repo-ng authors and contributors.
@@ -43,9 +43,6 @@
void
listen(const Name& prefix) override;
- void
- connectAutoListen();
-
PUBLIC_WITH_TESTS_ELSE_PRIVATE:
const std::map<ndn::Name, RegisteredDataPrefix>&
getRegisteredPrefixes()
@@ -65,6 +62,9 @@
void
onDataInserted(const Name& name);
+ void
+ connectAutoListen();
+
private:
/**
* @brief Read data from backend storage