diff Framework/Plugins/IndexConnectionsPool.h @ 375:824d70ce85ff db-protobuf

implemented database operations
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 28 Mar 2023 18:11:27 +0200
parents 4a3985088723
children 3d6886f3e5b3
line wrap: on
line diff
--- a/Framework/Plugins/IndexConnectionsPool.h	Tue Mar 28 14:51:17 2023 +0200
+++ b/Framework/Plugins/IndexConnectionsPool.h	Tue Mar 28 18:11:27 2023 +0200
@@ -26,6 +26,8 @@
 
 #include <MultiThreading/SharedMessageQueue.h>
 
+#include <list>
+
 namespace OrthancDatabases
 {
   class IndexConnectionsPool : public boost::noncopyable
@@ -41,7 +43,7 @@
     Orthanc::SharedMessageQueue    availableConnections_;
 
   public:
-    IndexConnectionsPool(IndexBackend* backend,
+    IndexConnectionsPool(IndexBackend* backend /* takes ownership */,
                          size_t countConnections);
 
     ~IndexConnectionsPool();