Mercurial > hg > orthanc
diff OrthancFramework/Sources/DicomFormat/DicomPath.cpp @ 4685:693f049729ba
New versions of Keep(), Remove() and Replace() in DicomModification that use DicomPath
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 08 Jun 2021 18:28:57 +0200 |
parents | 7182f5732480 |
children | ead3b81f4541 |
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomFormat/DicomPath.cpp Tue Jun 08 14:42:09 2021 +0200 +++ b/OrthancFramework/Sources/DicomFormat/DicomPath.cpp Tue Jun 08 18:28:57 2021 +0200 @@ -154,7 +154,7 @@ { prefix_.reserve(parentTags.size()); - for (size_t i = 0; i < prefix_.size(); i++) + for (size_t i = 0; i < parentTags.size(); i++) { prefix_.push_back(PrefixItem::CreateIndexed(parentTags[i], parentIndexes[i])); }