]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix compilation pb caused by previous integration
authorvsr <vsr@opencascade.com>
Thu, 10 Oct 2013 05:59:01 +0000 (05:59 +0000)
committervsr <vsr@opencascade.com>
Thu, 10 Oct 2013 05:59:01 +0000 (05:59 +0000)
src/Launcher/Launcher_Job_Writer.cxx

index 15ddde1a2db967d6b0260a72089ac80a1c700470..449fa02f7124c6310ca9cd3255798c488cae7c58 100644 (file)
@@ -100,7 +100,7 @@ void Launcher::addToXmlDocument(xmlNodePtr root_node, Launcher::Job* job)
   xmlNewChild(run_node, NULL, xmlCharStrdup("resource_choosed_name"), xmlCharStrdup(resource_definition.Name.c_str()));
 
 #ifdef WITH_LIBBATCH
-  Batch::JobId job_id = getBatchManagerJobId();
+  Batch::JobId job_id = job->getBatchManagerJobId();
   xmlNewChild(run_node, NULL, xmlCharStrdup("job_reference"), xmlCharStrdup(job_id.getReference().c_str()));
 #endif
 }