Salome HOME
Properly define getJobParameters when building without LibBatch.
authorPascal Obry <pascal.obry@edf.fr>
Tue, 25 Jun 2019 09:35:19 +0000 (11:35 +0200)
committerPascal Obry <pascal.obry@edf.fr>
Tue, 25 Jun 2019 09:35:27 +0000 (11:35 +0200)
Fix a link error.

src/Launcher/Launcher.cxx

index 51642f264495d933ac88344665038d9ae766017a..c6f7c62ba31379d2bbee6f4fbe97da72ccc80d49 100644 (file)
@@ -762,6 +762,14 @@ Launcher_cpp::createJobWithFile( const std::string xmlExecuteFile, std::string c
   return 0;
 }
 
+/*
+JobParameters_cpp
+Launcher_cpp::getJobParameters(int job_id)
+{
+  throw LauncherException("Method Launcher_cpp::getJobParamaters is not available "
+                          "(libBatch was not present at compilation time)");
+}
+*/
 #endif
 
 ParserLauncherType