all: Update code to compile with latest time-related changes in ndn-cpp-dev library
Change-Id: I7e859989c833001f49b286d4a9917f4dc740b4a4
diff --git a/daemon/face/udp-channel.hpp b/daemon/face/udp-channel.hpp
index 81e53ac..26c6cae 100644
--- a/daemon/face/udp-channel.hpp
+++ b/daemon/face/udp-channel.hpp
@@ -8,7 +8,6 @@
#define NFD_FACE_UDP_CHANNEL_HPP
#include "channel.hpp"
-#include "core/time.hpp"
#include "core/global-io.hpp"
#include "core/scheduler.hpp"
#include "udp-face.hpp"
@@ -46,7 +45,7 @@
* \throw UdpChannel::Error if bind on the socket fails
*/
UdpChannel(const udp::Endpoint& localEndpoint,
- const time::Duration& timeout);
+ const time::seconds& timeout);
virtual
~UdpChannel();
@@ -156,7 +155,7 @@
* \brief every time m_idleFaceTimeout expires all the idle (and not permanent)
* faces will be removed
*/
- time::Duration m_idleFaceTimeout;
+ time::seconds m_idleFaceTimeout;
EventId m_closeIdleFaceEvent;