diff OrthancServer/Sources/ServerIndex.cpp @ 4578:710748828b6a db-changes

simplification
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 09 Mar 2021 11:55:08 +0100
parents a114a5db2afe
children 5ee9a4f8a0f0
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerIndex.cpp	Tue Mar 09 11:52:07 2021 +0100
+++ b/OrthancServer/Sources/ServerIndex.cpp	Tue Mar 09 11:55:08 2021 +0100
@@ -735,13 +735,12 @@
   }
 
 
-  void ServerIndex::MainDicomTagsToJson(Json::Value& target,
-                                        IDatabaseWrapper& db,
-                                        int64_t resourceId,
-                                        ResourceType resourceType)
+  void ServerIndex::ReadOnlyTransaction::MainDicomTagsToJson(Json::Value& target,
+                                                             int64_t resourceId,
+                                                             ResourceType resourceType)
   {
     DicomMap tags;
-    db.GetMainDicomTags(tags, resourceId);
+    db_.GetMainDicomTags(tags, resourceId);
 
     if (resourceType == ResourceType_Study)
     {