]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
CCAR: add missing initialization of _container attribute in parallel constructor
authorcaremoli <caremoli>
Fri, 9 Jan 2009 08:33:05 +0000 (08:33 +0000)
committercaremoli <caremoli>
Fri, 9 Jan 2009 08:33:05 +0000 (08:33 +0000)
src/Container/Component_i.cxx

index 93caf53ceea9fbad32f3fc42b3838282b90807fc..dfcae478ff36e72039a2d619724929917e4d5459 100644 (file)
@@ -203,6 +203,8 @@ Engines_Component_i::Engines_Component_i(CORBA::ORB_ptr orb,
   _orb = CORBA::ORB::_duplicate(orb);
   _poa = PortableServer::POA::_duplicate(poa);
   _contId = contId ;
+  CORBA::Object_var o = _poa->id_to_reference(*contId); // container ior...
+  _container=Engines::Container::_narrow(o);
 
   _notifSupplier = new NOTIFICATION_Supplier(instanceName, notif);
 }