Mercurial > hg > orthanc
comparison OrthancServer/DicomProtocol/DicomUserConnection.cpp @ 942:b3f6fb1130cd
fixes thanks to cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 25 Jun 2014 11:36:41 +0200 |
parents | 27d256e0b458 |
children | c2c28dd17e87 9d0c7301596e |
comparison
equal
deleted
inserted
replaced
941:83489fddd8c5 | 942:b3f6fb1130cd |
---|---|
215 | 215 |
216 CheckStorageSOPClassesInvariant(); | 216 CheckStorageSOPClassesInvariant(); |
217 unsigned int presentationContextId = 1; | 217 unsigned int presentationContextId = 1; |
218 | 218 |
219 for (std::list<std::string>::const_iterator it = reservedStorageSOPClasses_.begin(); | 219 for (std::list<std::string>::const_iterator it = reservedStorageSOPClasses_.begin(); |
220 it != reservedStorageSOPClasses_.end(); it++) | 220 it != reservedStorageSOPClasses_.end(); ++it) |
221 { | 221 { |
222 RegisterStorageSOPClass(pimpl_->params_, presentationContextId, | 222 RegisterStorageSOPClass(pimpl_->params_, presentationContextId, |
223 *it, asPreferred, asFallback); | 223 *it, asPreferred, asFallback); |
224 } | 224 } |
225 | 225 |
226 for (std::set<std::string>::const_iterator it = storageSOPClasses_.begin(); | 226 for (std::set<std::string>::const_iterator it = storageSOPClasses_.begin(); |
227 it != storageSOPClasses_.end(); it++) | 227 it != storageSOPClasses_.end(); ++it) |
228 { | 228 { |
229 RegisterStorageSOPClass(pimpl_->params_, presentationContextId, | 229 RegisterStorageSOPClass(pimpl_->params_, presentationContextId, |
230 *it, asPreferred, asFallback); | 230 *it, asPreferred, asFallback); |
231 } | 231 } |
232 | 232 |
233 for (std::set<std::string>::const_iterator it = defaultStorageSOPClasses_.begin(); | 233 for (std::set<std::string>::const_iterator it = defaultStorageSOPClasses_.begin(); |
234 it != defaultStorageSOPClasses_.end(); it++) | 234 it != defaultStorageSOPClasses_.end(); ++it) |
235 { | 235 { |
236 RegisterStorageSOPClass(pimpl_->params_, presentationContextId, | 236 RegisterStorageSOPClass(pimpl_->params_, presentationContextId, |
237 *it, asPreferred, asFallback); | 237 *it, asPreferred, asFallback); |
238 } | 238 } |
239 } | 239 } |