]> SALOME platform Git repositories - modules/yacs.git/blobdiff - src/runtime/SalomeContainer.cxx
Salome HOME
The DistributedPythonNode with func is OK with HPContainer.
[modules/yacs.git] / src / runtime / SalomeContainer.cxx
index 849e7e5af04b5bdcaecb99496c44153dc3222c8f..1f12874098524f7922daf9755de712c5c1b3d7f9 100644 (file)
@@ -64,9 +64,9 @@ SalomeContainer::SalomeContainer(const SalomeContainer& other)
 {
 }
 
-SalomeContainer::SalomeContainer(const Container& other, const SalomeContainerTools& sct, SalomeContainerHelper *lmt,
+SalomeContainer::SalomeContainer(const Container& other, const SalomeContainerTools& sct, const SalomeContainerHelper *lmt,
                                  const std::vector<std::string>& componentNames, int shutdownLev):Container(other),_componentNames(componentNames),
-                                     _launchModeType(lmt),_shutdownLevel(shutdownLev),_sct(sct)
+                                     _launchModeType(const_cast<SalomeContainerHelper *>(lmt)),_shutdownLevel(shutdownLev),_sct(sct)
 {
   if(lmt)
     lmt->incrRef();