diff OrthancServer/Scheduler/ServerJob.cpp @ 2172:84d1d392a9ab

GenerateUuid() not available in sandboxed environments
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 23 Nov 2016 12:06:00 +0100
parents 5a8840920121
children a3a65de1840f
line wrap: on
line diff
--- a/OrthancServer/Scheduler/ServerJob.cpp	Wed Nov 23 11:46:42 2016 +0100
+++ b/OrthancServer/Scheduler/ServerJob.cpp	Wed Nov 23 12:06:00 2016 +0100
@@ -34,6 +34,7 @@
 #include "ServerJob.h"
 
 #include "../../Core/OrthancException.h"
+#include "../../Core/SystemToolbox.h"
 #include "../../Core/Toolbox.h"
 
 namespace Orthanc
@@ -95,7 +96,7 @@
 
 
   ServerJob::ServerJob() :
-    jobId_(Toolbox::GenerateUuid()),
+    jobId_(SystemToolbox::GenerateUuid()),
     submitted_(false),
     description_("no description")
   {