From: vsr Date: Thu, 10 Oct 2013 05:59:01 +0000 (+0000) Subject: Fix compilation pb caused by previous integration X-Git-Tag: BR_hydro_v_0_3_1~91 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c0888f2a081da02a281847024491f96ffa987301;p=modules%2Fkernel.git Fix compilation pb caused by previous integration --- diff --git a/src/Launcher/Launcher_Job_Writer.cxx b/src/Launcher/Launcher_Job_Writer.cxx index 15ddde1a2..449fa02f7 100644 --- a/src/Launcher/Launcher_Job_Writer.cxx +++ b/src/Launcher/Launcher_Job_Writer.cxx @@ -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 }