Replace all uses of BOOST_THROW_EXCEPTION with NDN_THROW
Refs: #4834
Change-Id: I6c536cd321fba62d397bf8520f51d2dbba73d908
diff --git a/src/daemon/rrset-factory.hpp b/src/daemon/rrset-factory.hpp
index 1773fe0..bab99ca 100644
--- a/src/daemon/rrset-factory.hpp
+++ b/src/daemon/rrset-factory.hpp
@@ -20,7 +20,6 @@
#ifndef NDNS_DAEMON_RRSET_FACTORY_HPP
#define NDNS_DAEMON_RRSET_FACTORY_HPP
-#include "common.hpp"
#include "rrset.hpp"
#include "logger.hpp"
#include "daemon/db-mgr.hpp"
@@ -29,9 +28,7 @@
#include <ndn-cxx/link.hpp>
#include <ndn-cxx/security/key-chain.hpp>
-#include <vector>
-#include <string>
-#include <boost/filesystem.hpp>
+#include <boost/filesystem/path.hpp>
namespace ndn {
namespace ndns {
@@ -44,10 +41,7 @@
class Error : public std::runtime_error
{
public:
- explicit
- Error(const std::string& what) : std::runtime_error(what)
- {
- }
+ using std::runtime_error::runtime_error;
};
public:
@@ -138,4 +132,3 @@
} // namespace ndn
#endif // NDNS_DAEMON_RRSET_FACTORY_HPP
-