all: Update code to compile with latest time-related changes in ndn-cpp-dev library
Change-Id: I7e859989c833001f49b286d4a9917f4dc740b4a4
diff --git a/daemon/table/cs-entry.hpp b/daemon/table/cs-entry.hpp
index 7d31442..062e7f1 100644
--- a/daemon/table/cs-entry.hpp
+++ b/daemon/table/cs-entry.hpp
@@ -10,7 +10,6 @@
#define NFD_TABLE_CS_ENTRY_HPP
#include "common.hpp"
-#include "core/time.hpp"
#include <ndn-cpp-dev/util/crypto.hpp>
namespace nfd {
@@ -49,9 +48,9 @@
wasRefreshedByDuplicate() const;
/** \brief returns the absolute time when Data becomes expired
- * \return{ Time (resolution up to milliseconds) }
+ * \return{ Time (resolution up to time::milliseconds) }
*/
- const time::Point&
+ const time::steady_clock::TimePoint&
getStaleTime() const;
/** \brief returns the Data packet stored in the CS entry
@@ -102,7 +101,7 @@
printIterators() const;
private:
- time::Point m_staleAt;
+ time::steady_clock::TimePoint m_staleAt;
shared_ptr<const Data> m_dataPacket;
bool m_isUnsolicited;