Skip to content

Commit

Permalink
Merge pull request #504 from QIICR/fix-std-vector
Browse files Browse the repository at this point in the history
BUG: explicitly convert to OFVector
  • Loading branch information
fedorov authored Jun 28, 2024
2 parents d88b025 + a10f15f commit ec5dee7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libsrc/Itk2DicomConverter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ namespace dcmqi {
code_seg.CodeMeaning),"",derimgItem));

OFVector<SourceImageItem*> srcimgItems;
OFVector<DcmDataset*> dcmDatasets_ofvector(dcmDatasets.begin(), dcmDatasets.end());
derimgItem->addSourceImageItems(dcmDatasets,
CodeSequenceMacro(code_seg.CodeValue,code_seg.CodingSchemeDesignator, code_seg.CodeMeaning), srcimgItems, OFTrue /*skip file errors */);

Expand Down

0 comments on commit ec5dee7

Please sign in to comment.