From a10f15f0923c2b2fb48fff208ac986772df71fee Mon Sep 17 00:00:00 2001 From: Andrey Fedorov Date: Fri, 28 Jun 2024 12:25:55 -0400 Subject: [PATCH] BUG: explicitly convert to OFVector re #503 --- libsrc/Itk2DicomConverter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libsrc/Itk2DicomConverter.cpp b/libsrc/Itk2DicomConverter.cpp index 694cc9e4..e090ed68 100644 --- a/libsrc/Itk2DicomConverter.cpp +++ b/libsrc/Itk2DicomConverter.cpp @@ -135,6 +135,7 @@ namespace dcmqi { code_seg.CodeMeaning),"",derimgItem)); OFVector srcimgItems; + OFVector dcmDatasets_ofvector(dcmDatasets.begin(), dcmDatasets.end()); derimgItem->addSourceImageItems(dcmDatasets, CodeSequenceMacro(code_seg.CodeValue,code_seg.CodingSchemeDesignator, code_seg.CodeMeaning), srcimgItems, OFTrue /*skip file errors */);