diff OrthancServer/Sources/Database/BaseDatabaseWrapper.cpp @ 5847:70a879a7b658 find-refactoring

introduction of IDatabaseWrapper::ICompatibilityTransaction
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 29 Oct 2024 13:46:29 +0000
parents 82fc95cc168c
children
line wrap: on
line diff
--- a/OrthancServer/Sources/Database/BaseDatabaseWrapper.cpp	Tue Oct 29 13:29:43 2024 +0000
+++ b/OrthancServer/Sources/Database/BaseDatabaseWrapper.cpp	Tue Oct 29 13:46:29 2024 +0000
@@ -77,7 +77,7 @@
                                                          const Capabilities& capabilities,
                                                          const FindRequest& request)
   {
-    Compatibility::GenericFind find(*this);
+    Compatibility::GenericFind find(*this, *this);
     find.ExecuteFind(identifiers, capabilities, request);
   }
 
@@ -87,7 +87,7 @@
                                                            const FindRequest& request,
                                                            const std::string& identifier)
   {
-    Compatibility::GenericFind find(*this);
+    Compatibility::GenericFind find(*this, *this);
     find.ExecuteExpand(response, capabilities, request, identifier);
   }