From: rahuel Date: Thu, 9 Feb 2006 16:38:48 +0000 (+0000) Subject: CORBA::ORB_ptr orb instead of _var X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1210695bcbb90ba9a8a260336341a206613b68de;p=modules%2Fkernel.git CORBA::ORB_ptr orb instead of _var --- diff --git a/src/TestContainer/TestContainer.cxx b/src/TestContainer/TestContainer.cxx index de2de52a0..6eeb19a68 100644 --- a/src/TestContainer/TestContainer.cxx +++ b/src/TestContainer/TestContainer.cxx @@ -81,7 +81,7 @@ int main (int argc, char * argv[]) { // Initializing omniORB ORB_INIT &init = *SINGLETON_::Instance() ; - CORBA::ORB_var &orb = init( argc , argv ) ; + CORBA::ORB_ptr orb = init( argc , argv ) ; // LocalTraceCollector *myThreadTrace = SALOMETraceCollector::instance(orb); try @@ -94,6 +94,7 @@ int main (int argc, char * argv[]) CORBA::Object_var obj = _NS.Resolve(containerName.c_str()) ; Engines::Container_var iGenFact = Engines::Container::_narrow(obj); + iGenFact->ping() ; int nbInstances = 5;