build: use C++11
Change-Id: I0e58ac4e9cb42d07a9b58125d761875f91c7744c
Refs: #1930
diff --git a/src/storage/storage.hpp b/src/storage/storage.hpp
index 04f366f..bf75306 100755
--- a/src/storage/storage.hpp
+++ b/src/storage/storage.hpp
@@ -76,7 +76,7 @@
* @brief get the data from database
* @param id id number of each entry in the database, used to find the data
*/
- virtual shared_ptr<Data>
+ virtual std::shared_ptr<Data>
read(const int64_t id) = 0;
/**
@@ -90,7 +90,7 @@
* insertItemToIndex to reubuild index from database
*/
virtual void
- fullEnumerate(const ndn::function<void(const Storage::ItemMeta)>& f) = 0;
+ fullEnumerate(const std::function<void(const Storage::ItemMeta)>& f) = 0;
};