Replace all uses of BOOST_THROW_EXCEPTION with NDN_THROW
Refs: #4834
Change-Id: I6c536cd321fba62d397bf8520f51d2dbba73d908
diff --git a/src/mgmt/management-tool.hpp b/src/mgmt/management-tool.hpp
index 5b9b51e..ba00458 100644
--- a/src/mgmt/management-tool.hpp
+++ b/src/mgmt/management-tool.hpp
@@ -20,7 +20,6 @@
#ifndef NDNS_MGMT_MANAGEMENT_TOOL_HPP
#define NDNS_MGMT_MANAGEMENT_TOOL_HPP
-#include "config.hpp"
#include "ndns-enum.hpp"
#include "clients/response.hpp"
#include "daemon/db-mgr.hpp"
@@ -49,7 +48,7 @@
* @brief provides management tools to the NDNS system, such as zone creation, zone delegation, DSK
* generation and root zone creation.
*/
-class ManagementTool : noncopyable
+class ManagementTool : boost::noncopyable
{
public:
/** @brief Represents an error might be thrown during runtime
@@ -57,10 +56,7 @@
class Error : public std::runtime_error
{
public:
- explicit
- Error(const std::string& what) : std::runtime_error(what)
- {
- }
+ using std::runtime_error::runtime_error;
};
/**