all: Update code to compile with latest time-related changes in ndn-cpp-dev library
Change-Id: I7e859989c833001f49b286d4a9917f4dc740b4a4
diff --git a/daemon/face/udp-factory.cpp b/daemon/face/udp-factory.cpp
index a311d81..5fcfd1c 100644
--- a/daemon/face/udp-factory.cpp
+++ b/daemon/face/udp-factory.cpp
@@ -21,7 +21,7 @@
shared_ptr<UdpChannel>
UdpFactory::createChannel(const udp::Endpoint& endpoint,
- const time::Duration& timeout)
+ const time::seconds& timeout)
{
NFD_LOG_DEBUG("Creating unicast " << endpoint);
@@ -52,7 +52,7 @@
shared_ptr<UdpChannel>
UdpFactory::createChannel(const std::string& localHost,
const std::string& localPort,
- const time::Duration& timeout)
+ const time::seconds& timeout)
{
return createChannel(UdpResolver::syncResolve(localHost, localPort),
timeout);