changeset 5749:3cee66f96e2e find-refactoring

fix
author Alain Mazy <am@orthanc.team>
date Mon, 02 Sep 2024 17:21:38 +0200
parents 4bc650d88463
children f39406a9eda4
files OrthancServer/Sources/Database/FindResponse.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/Sources/Database/FindResponse.cpp	Fri Aug 30 18:03:37 2024 +0200
+++ b/OrthancServer/Sources/Database/FindResponse.cpp	Mon Sep 02 17:21:38 2024 +0200
@@ -180,7 +180,7 @@
     {
       std::set<std::string> s;
       s.insert(value);
-      metadataValues_[metadata] = new std::set(s);
+      metadataValues_[metadata] = new std::set<std::string>(s);
     }
     else
     {
@@ -216,7 +216,7 @@
     {
       std::set<std::string> s;
       s.insert(value);
-      mainDicomTagValues_[tag] = new std::set(s);
+      mainDicomTagValues_[tag] = new std::set<std::string>(s);
     }
     else
     {