Replace remaining uses of BOOST_THROW_EXCEPTION with NDN_THROW
Change-Id: I0c149acbe5607d928cdf9e8d73813d5e74ca45d0
diff --git a/src/conf-parameter.hpp b/src/conf-parameter.hpp
index 89d01c4..c000c4b 100644
--- a/src/conf-parameter.hpp
+++ b/src/conf-parameter.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2014-2020, The University of Memphis,
+ * Copyright (c) 2014-2021, The University of Memphis,
* Regents of the University of California,
* Arizona Board of Regents.
*
@@ -28,11 +28,9 @@
#include "adjacency-list.hpp"
#include "name-prefix-list.hpp"
-#include <boost/cstdint.hpp>
#include <ndn-cxx/face.hpp>
#include <ndn-cxx/security/validator-config.hpp>
#include <ndn-cxx/security/certificate-fetcher-direct-fetch.hpp>
-#include <ndn-cxx/util/time.hpp>
namespace nlsr {
@@ -128,9 +126,8 @@
*/
class ConfParameter
{
-
public:
- ConfParameter(ndn::Face& face, ndn::KeyChain& keyChain,
+ ConfParameter(ndn::Face& face, ndn::KeyChain& keyChain,
const std::string& confFileName = "nlsr.conf");
const std::string&
@@ -478,7 +475,7 @@
return m_keyChain;
}
- shared_ptr<ndn::security::Certificate>
+ std::shared_ptr<ndn::security::Certificate>
initializeKey();
void
@@ -492,6 +489,7 @@
PUBLIC_WITH_TESTS_ELSE_PRIVATE:
std::string m_confFileName;
std::string m_confFileNameDynamic;
+
private:
ndn::Name m_routerName;
ndn::Name m_siteName;