diff OrthancFramework/Sources/DicomFormat/DicomMap.h @ 5175:48005e522bd6

start fixing thread safety issues with DicomMap
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 24 Mar 2023 19:00:33 +0100
parents 6fed78e13233
children 6d8647122ef3
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomFormat/DicomMap.h	Wed Mar 22 08:26:41 2023 +0100
+++ b/OrthancFramework/Sources/DicomFormat/DicomMap.h	Fri Mar 24 19:00:33 2023 +0100
@@ -154,7 +154,8 @@
 
     static bool HasComputedTags(const std::set<DicomTag>& tags);
 
-    static const std::set<DicomTag>& GetMainDicomTags(ResourceType level);
+    static void GetMainDicomTags(std::set<DicomTag>& target,
+                                 ResourceType level);
 
     // returns a string uniquely identifying the list of main dicom tags for a level
     static const std::string& GetMainDicomTagsSignature(ResourceType level);