diff Framework/Plugins/IndexBackend.cpp @ 584:47b14499455e find-refactoring

fix initialization in ReadOnly mode
author Alain Mazy <am@orthanc.team>
date Mon, 04 Nov 2024 17:51:22 +0100
parents ae7375d38607
children 65e39e76c2b6
line wrap: on
line diff
--- a/Framework/Plugins/IndexBackend.cpp	Mon Oct 21 18:19:51 2024 +0200
+++ b/Framework/Plugins/IndexBackend.cpp	Mon Nov 04 17:51:22 2024 +0100
@@ -305,8 +305,10 @@
   }
 
 
-  IndexBackend::IndexBackend(OrthancPluginContext* context) :
-    context_(context)
+  IndexBackend::IndexBackend(OrthancPluginContext* context,
+                             bool readOnly) :
+    context_(context),
+    readOnly_(readOnly)
   {
   }