]> SALOME platform Git repositories - tools/libbatch.git/blobdiff - src/SGE/Batch_FactBatchManager_eSGE.cxx
Salome HOME
Moved username initialization to the constructor in BatchManager_eClients
[tools/libbatch.git] / src / SGE / Batch_FactBatchManager_eSGE.cxx
index 26222663d1439c72c1a927f9d84068c4addc5e70..b7f76475751c52ab5ef3de3b5204890b5a0b425a 100644 (file)
@@ -55,12 +55,13 @@ namespace Batch {
   }
 
   BatchManager_eClient * FactBatchManager_eSGE::operator() (const char * hostname,
+                                                            const char * username,
                                                             CommunicationProtocolType protocolType,
                                                             const char * mpiImpl,
                                                            int nb_proc_per_node) const
   {
     // MESSAGE("Building new BatchManager_SGE on host '" << hostname << "'");
-    return new BatchManager_eSGE(this, hostname, protocolType, mpiImpl);
+    return new BatchManager_eSGE(this, hostname, username, protocolType, mpiImpl);
   }