From 730bf9e286a21321228edaad7e496624b82f6dbc Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 14 Apr 2010 05:25:38 +0000 Subject: [PATCH] Fix compilation error --- src/Launcher/Launcher.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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(); -- 2.39.2