Skip to content

Commit

Permalink
BUG: explicitly convert to OFVector
Browse files Browse the repository at this point in the history
re #503
  • Loading branch information
fedorov committed Jun 28, 2024
1 parent d88b025 commit a10f15f
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 a10f15f

Please sign in to comment.