Avoid deprecated ndn-cxx type aliases
Change-Id: I68c202f2a788491b9d3d6d2f68adefdeefb3beb5
diff --git a/src/requester-request.cpp b/src/requester-request.cpp
index 32e29df..277a7e7 100644
--- a/src/requester-request.cpp
+++ b/src/requester-request.cpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2017-2022, Regents of the University of California.
+ * Copyright (c) 2017-2023, Regents of the University of California.
*
* This file is part of ndncert, a certificate management system based on NDN.
*
@@ -118,8 +118,8 @@
std::shared_ptr<Interest>
Request::genNewInterest(const Name& keyName,
- const time::system_clock::TimePoint& notBefore,
- const time::system_clock::TimePoint& notAfter)
+ const time::system_clock::time_point& notBefore,
+ const time::system_clock::time_point& notAfter)
{
if (!m_caProfile.caPrefix.isPrefixOf(keyName)) {
return nullptr;