all: Update code to compile with latest time-related changes in ndn-cpp-dev library
Change-Id: I7e859989c833001f49b286d4a9917f4dc740b4a4
diff --git a/tests/core/limited-io.hpp b/tests/core/limited-io.hpp
index 0aae290..d3968c2 100644
--- a/tests/core/limited-io.hpp
+++ b/tests/core/limited-io.hpp
@@ -38,7 +38,7 @@
* \param nTimeLimit time limit, pass UNLIMITED_TIME for no limit
*/
StopReason
- run(int nOpsLimit, time::Duration nTimeLimit);
+ run(int nOpsLimit, const time::nanoseconds& nTimeLimit);
/// count an operation
void
@@ -53,7 +53,7 @@
public:
static const int UNLIMITED_OPS;
- static const time::Duration UNLIMITED_TIME;
+ static const time::nanoseconds UNLIMITED_TIME;
private:
bool m_isRunning;