diff OrthancServer/ServerJobs/DicomModalityStoreJob.cpp @ 2842:ff0ed5ea9e4e

trailing step in SetOfInstancesJob
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 26 Sep 2018 15:55:42 +0200
parents ea7aea6f6a95
children 8b00e4cb4a6b
line wrap: on
line diff
--- a/OrthancServer/ServerJobs/DicomModalityStoreJob.cpp	Wed Sep 26 09:50:30 2018 +0200
+++ b/OrthancServer/ServerJobs/DicomModalityStoreJob.cpp	Wed Sep 26 15:55:42 2018 +0200
@@ -85,7 +85,14 @@
   }
     
 
+  bool DicomModalityStoreJob::HandleTrailingStep()
+  {
+    throw OrthancException(ErrorCode_InternalError);
+  }
+
+
   DicomModalityStoreJob::DicomModalityStoreJob(ServerContext& context) :
+    SetOfInstancesJob(false /* no trailing step */),
     context_(context),
     localAet_("ORTHANC"),
     moveOriginatorId_(0)  // By default, not a C-MOVE