]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#888,!573] rebased
authorRazvan Becheriu <razvan@isc.org>
Mon, 4 Nov 2019 20:26:38 +0000 (22:26 +0200)
committerRazvan Becheriu <razvan@isc.org>
Wed, 6 Nov 2019 17:28:25 +0000 (19:28 +0200)
src/lib/pgsql/pgsql_connection.h

index 1ff452a206f77ddf3a5cbda1ea03845099d7118e..54dd23cac118afcc79372c4aed211cf138c45738 100644 (file)
@@ -7,7 +7,7 @@
 #define PGSQL_CONNECTION_H
 
 #include <database/database_connection.h>
-#include <dhcpsrv/thread_resource_mgr.h>
+#include <util/thread_resource.h>
 
 #include <libpq-fe.h>
 #include <boost/scoped_ptr.hpp>
@@ -442,7 +442,7 @@ private:
 
     bool prepared_;      ///< Flag to indicate prepareStatements has been called
 
-    mutable isc::dhcp::ThreadResourceMgr<PgSqlHolder> handles_;
+    mutable isc::dhcp::ThreadResource<PgSqlHolder> handles_;
 };
 
 }  // namespace db