]> SALOME platform Git repositories - modules/kernel.git/blobdiff - src/LifeCycleCORBA/TestContainerManager.cxx
Salome HOME
Compilation under Windows: add missing header
[modules/kernel.git] / src / LifeCycleCORBA / TestContainerManager.cxx
index 40e2afabe46fac6c288d00313febbd51a37a3da3..2dc67236c9628d0c0b9c08fcf40b91191a0461fc 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2021  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -33,6 +33,7 @@
 #include "SALOME_ResourcesManager.hxx"
 #include "SALOME_ContainerManager.hxx"
 #include "SALOME_LifeCycleCORBA.hxx"
+#include "SALOME_ResourcesManager.hxx"
 #include "NamingService_WaitForServerReadiness.hxx"
 #include "OpUtil.hxx"
 #include "Utils_ORB_INIT.hxx"
@@ -137,7 +138,7 @@ int main (int argc, char * argv[])
   int cmax=0;
   int fmin=10;
   int fmax=0;
-  int nbpmax;
+  int nbpmax=1;
   for(std::map<std::string,int>::iterator iter=cycle.begin();iter!=cycle.end();iter++){
     if(strcmp((*iter).first.c_str(),"localhost")!=0){
       Engines::ResourceDefinition *p = _ResManager->GetResourceDefinition((*iter).first.c_str());