From: ana Date: Mon, 18 Jul 2016 12:57:43 +0000 (+0300) Subject: Windows compatibility X-Git-Tag: V8_1_0a1^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b21a3d5b68e9c2fc0b2692d3919c76029c72e023;p=modules%2Fjobmanager.git Windows compatibility --- diff --git a/src/engine/BL_SALOMEServices.cxx b/src/engine/BL_SALOMEServices.cxx index 2082b22..bc7e640 100644 --- a/src/engine/BL_SALOMEServices.cxx +++ b/src/engine/BL_SALOMEServices.cxx @@ -277,7 +277,7 @@ BL::SALOMEServices::create_job(BL::Job * job) new_parameter->value = CORBA::string_dup(oss.str().c_str()); job_parameters->specific_parameters[job_parameters->specific_parameters.length() - 1] = new_parameter; } - if (not job->getYacsDriverOptions().empty()) + if (!job->getYacsDriverOptions().empty()) { job_parameters->specific_parameters.length(job_parameters->specific_parameters.length() + 1); Engines::Parameter_var new_parameter = new Engines::Parameter; diff --git a/src/genericgui/BL_CreateJobWizard.cxx b/src/genericgui/BL_CreateJobWizard.cxx index bf4fd3a..eba7034 100644 --- a/src/genericgui/BL_CreateJobWizard.cxx +++ b/src/genericgui/BL_CreateJobWizard.cxx @@ -139,7 +139,7 @@ BL::CreateJobWizard::clone(const std::string & name) value.setNum(job->getDumpYACSState()); setField("dump_yacs_state", value); } - if (not job->getYacsDriverOptions().empty()) + if (!job->getYacsDriverOptions().empty()) { setField("yacs_driver_options", job->getYacsDriverOptions().c_str()); }