From: Razvan Becheriu Date: Tue, 9 Apr 2019 18:17:14 +0000 (+0300) Subject: base class should take the lock before derived class implementation executes pick... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be4a2e5a2596722b5dd95c2fc40f501c236e7b7d;p=thirdparty%2Fkea.git base class should take the lock before derived class implementation executes pick address --- diff --git a/src/lib/dhcpsrv/alloc_engine.cc b/src/lib/dhcpsrv/alloc_engine.cc index 010d1187f9..7317389ada 100644 --- a/src/lib/dhcpsrv/alloc_engine.cc +++ b/src/lib/dhcpsrv/alloc_engine.cc @@ -25,7 +25,6 @@ #include #include #include -#include #include #include diff --git a/src/lib/dhcpsrv/alloc_engine.h b/src/lib/dhcpsrv/alloc_engine.h index 03314b3285..1edc9b1e4d 100644 --- a/src/lib/dhcpsrv/alloc_engine.h +++ b/src/lib/dhcpsrv/alloc_engine.h @@ -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