diff OrthancServer/Sources/Search/DatabaseLookup.cpp @ 5176:6d8647122ef3

cont
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 24 Mar 2023 19:10:00 +0100
parents 6f41d47ef994
children 0ea402b4d901
line wrap: on
line diff
--- a/OrthancServer/Sources/Search/DatabaseLookup.cpp	Fri Mar 24 19:00:33 2023 +0100
+++ b/OrthancServer/Sources/Search/DatabaseLookup.cpp	Fri Mar 24 19:10:00 2023 +0100
@@ -281,7 +281,8 @@
 
   bool DatabaseLookup::HasOnlyMainDicomTags() const
   {
-    const std::set<DicomTag>& allMainTags = DicomMap::GetAllMainDicomTags();
+    std::set<DicomTag> allMainTags;
+    DicomMap::GetAllMainDicomTags(allMainTags);
 
     for (size_t i = 0; i < constraints_.size(); i++)
     {