all: Update code to compile with latest time-related changes in ndn-cpp-dev library
Change-Id: I7e859989c833001f49b286d4a9917f4dc740b4a4
diff --git a/daemon/table/pit-face-record.hpp b/daemon/table/pit-face-record.hpp
index 3ad0462..9bcfbed 100644
--- a/daemon/table/pit-face-record.hpp
+++ b/daemon/table/pit-face-record.hpp
@@ -8,7 +8,6 @@
#define NFD_TABLE_PIT_FACE_RECORD_HPP
#include "face/face.hpp"
-#include "core/time.hpp"
#include "strategy-info-host.hpp"
namespace nfd {
@@ -34,13 +33,13 @@
uint32_t
getLastNonce() const;
- time::Point
+ time::steady_clock::TimePoint
getLastRenewed() const;
/** \brief gives the time point this record expires
* \return getLastRenewed() + InterestLifetime
*/
- time::Point
+ time::steady_clock::TimePoint
getExpiry() const;
/// updates lastNonce, lastRenewed, expiry fields
@@ -50,8 +49,8 @@
private:
shared_ptr<Face> m_face;
uint32_t m_lastNonce;
- time::Point m_lastRenewed;
- time::Point m_expiry;
+ time::steady_clock::TimePoint m_lastRenewed;
+ time::steady_clock::TimePoint m_expiry;
};
inline shared_ptr<Face>
@@ -66,13 +65,13 @@
return m_lastNonce;
}
-inline time::Point
+inline time::steady_clock::TimePoint
FaceRecord::getLastRenewed() const
{
return m_lastRenewed;
}
-inline time::Point
+inline time::steady_clock::TimePoint
FaceRecord::getExpiry() const
{
return m_expiry;