Mercurial > hg > orthanc-stone
comparison OrthancStone/Sources/Toolbox/SortedFrames.cpp @ 1571:85e117739eca
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 21 Sep 2020 17:46:39 +0200 |
parents | 244ad1e4e76a |
children | 4fb8fdf03314 |
comparison
equal
deleted
inserted
replaced
1570:9a04f42098a3 | 1571:85e117739eca |
---|---|
386 SortUsingSopInstanceUid(remainingInstances); | 386 SortUsingSopInstanceUid(remainingInstances); |
387 | 387 |
388 // The following could in theory happen if several instances | 388 // The following could in theory happen if several instances |
389 // have the same SOPInstanceUID, no ordering is available | 389 // have the same SOPInstanceUID, no ordering is available |
390 for (std::set<size_t>::const_iterator it = remainingInstances.begin(); | 390 for (std::set<size_t>::const_iterator it = remainingInstances.begin(); |
391 it != remainingInstances.end(); it++) | 391 it != remainingInstances.end(); ++it) |
392 { | 392 { |
393 AddFramesOfInstance(remainingInstances, *it); | 393 AddFramesOfInstance(remainingInstances, *it); |
394 } | 394 } |
395 | 395 |
396 if (frames_.size() != totalFrames || | 396 if (frames_.size() != totalFrames || |