From: vsr Date: Wed, 14 Apr 2010 05:25:38 +0000 (+0000) Subject: Fix compilation error X-Git-Tag: V5_1_4a1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=730bf9e286a21321228edaad7e496624b82f6dbc;p=modules%2Fkernel.git Fix compilation error --- diff --git a/src/Launcher/Launcher.cxx b/src/Launcher/Launcher.cxx index 4a4e5f3a0..59eed5c06 100644 --- a/src/Launcher/Launcher.cxx +++ b/src/Launcher/Launcher.cxx @@ -311,9 +311,9 @@ Launcher_cpp::createJobWithFile(const std::string xmlExecuteFile, #else cmdFile += ".bat"; #endif - ofstream os; - os.open(cmdFile.c_str(), ofstream::out ); - os << "#! /bin/sh" << endl; + std::ofstream os; + os.open(cmdFile.c_str(), std::ofstream::out ); + os << "#! /bin/sh" << std::endl; os << job_params.Command; os.close();