Mercurial > hg > orthanc
diff OrthancServer/Scheduler/ModifyInstanceCommand.h @ 1785:c131566b8252 dcmtk-3.6.1
integration mainline->dcmtk-3.6.1
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 18 Nov 2015 10:16:21 +0100 |
parents | d78b87f93bcf |
children | b1291df2f780 |
line wrap: on
line diff
--- a/OrthancServer/Scheduler/ModifyInstanceCommand.h Wed Sep 23 10:29:06 2015 +0200 +++ b/OrthancServer/Scheduler/ModifyInstanceCommand.h Wed Nov 18 10:16:21 2015 +0100 @@ -43,16 +43,18 @@ private: ServerContext& context_; RequestOrigin origin_; - DicomModification modification_; + DicomModification* modification_; public: ModifyInstanceCommand(ServerContext& context, RequestOrigin origin, - const DicomModification& modification); + DicomModification* modification); // takes the ownership + + virtual ~ModifyInstanceCommand(); const DicomModification& GetModification() const { - return modification_; + return *modification_; } virtual bool Apply(ListOfStrings& outputs,