diff options
author | Razvan Becheriu <razvan@isc.org> | 2020-11-06 10:59:54 +0100 |
---|---|---|
committer | Razvan Becheriu <razvan@isc.org> | 2020-12-09 18:12:46 +0100 |
commit | 99da7a64c264aceb1df54753a9535982eca5f733 (patch) | |
tree | 917c85c1fe7af2bd9d66432b1bda1e38abc5ca1b /src/lib/dhcpsrv/lease_mgr_factory.h | |
parent | [#1375] reset global callbacks on server destructor (diff) | |
download | kea-99da7a64c264aceb1df54753a9535982eca5f733.tar.xz kea-99da7a64c264aceb1df54753a9535982eca5f733.zip |
[#1375] reverted changes
Diffstat (limited to 'src/lib/dhcpsrv/lease_mgr_factory.h')
-rw-r--r-- | src/lib/dhcpsrv/lease_mgr_factory.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/dhcpsrv/lease_mgr_factory.h b/src/lib/dhcpsrv/lease_mgr_factory.h index 792f3e5413..84bcf24370 100644 --- a/src/lib/dhcpsrv/lease_mgr_factory.h +++ b/src/lib/dhcpsrv/lease_mgr_factory.h @@ -7,7 +7,6 @@ #ifndef LEASE_MGR_FACTORY_H #define LEASE_MGR_FACTORY_H -#include <asiolink/io_service.h> #include <database/database_connection.h> #include <dhcpsrv/lease_mgr.h> #include <exceptions/exceptions.h> @@ -63,14 +62,12 @@ public: /// "keyword=value" pairs, separated by spaces. They are backend- /// -end specific, although must include the "type" keyword which /// gives the backend in use. - /// @param io_service The IOService object, used for all ASIO operations. /// /// @throw isc::InvalidParameter dbaccess string does not contain the "type" /// keyword. /// @throw isc::dhcp::InvalidType The "type" keyword in dbaccess does not /// identify a supported backend. - static void create(const std::string& dbaccess, - const isc::asiolink::IOServicePtr& io_service = isc::asiolink::IOServicePtr()); + static void create(const std::string& dbaccess); /// @brief Destroy lease manager /// @@ -100,6 +97,7 @@ private: /// is encapsulated in this method to avoid a "static initialization /// fiasco" if defined in an external static variable. static boost::scoped_ptr<LeaseMgr>& getLeaseMgrPtr(); + }; } // end of isc::dhcp namespace |