Mercurial > hg > orthanc
diff OrthancServer/Sources/ServerJobs/DicomMoveScuJob.cpp @ 4206:171af1567473
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 17 Sep 2020 20:49:15 +0200 |
parents | d962a2996637 |
children | d9473bd5ed43 |
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerJobs/DicomMoveScuJob.cpp Thu Sep 17 17:58:19 2020 +0200 +++ b/OrthancServer/Sources/ServerJobs/DicomMoveScuJob.cpp Thu Sep 17 20:49:15 2020 +0200 @@ -217,11 +217,10 @@ const Json::Value& serialized) : SetOfCommandsJob(new Unserializer(*this), serialized), context_(context), + parameters_(DicomAssociationParameters::UnserializeJob(serialized)), + targetAet_(SerializationToolbox::ReadString(serialized, TARGET_AET)), query_(Json::arrayValue) { - parameters_ = DicomAssociationParameters::UnserializeJob(serialized); - targetAet_ = SerializationToolbox::ReadString(serialized, TARGET_AET); - if (serialized.isMember(QUERY) && serialized[QUERY].type() == Json::arrayValue) {