]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
base class should take the lock before derived class implementation executes pick...
authorRazvan Becheriu <razvan@isc.org>
Tue, 9 Apr 2019 18:17:14 +0000 (21:17 +0300)
committerRazvan Becheriu <razvan@isc.org>
Fri, 12 Apr 2019 12:24:41 +0000 (15:24 +0300)
src/lib/dhcpsrv/alloc_engine.cc
src/lib/dhcpsrv/alloc_engine.h

index 010d1187f922c902885dc227daf008319f59fd3e..7317389adab675ccc1027497336cc599fe9d1411 100644 (file)
@@ -25,7 +25,6 @@
 #include <dhcpsrv/callout_handle_store.h>
 #include <stats/stats_mgr.h>
 #include <util/stopwatch.h>
-#include <util/threads/lock_guard.h>
 #include <hooks/server_hooks.h>
 #include <hooks/hooks_manager.h>
 
index 03314b3285655b4817bf70d8a6b90cebb8fa45ad..1edc9b1e4d5903a87316fd8e08657203d07f4285 100644 (file)
@@ -181,9 +181,6 @@ protected:
         static isc::asiolink::IOAddress
         increaseAddress(const isc::asiolink::IOAddress& address,
                         bool prefix, const uint8_t prefix_len);
-
-    private:
-        std::mutex mutex_;
     };
 
     /// @brief Address/prefix allocator that gets an address based on a hash