From 1210695bcbb90ba9a8a260336341a206613b68de Mon Sep 17 00:00:00 2001 From: rahuel Date: Thu, 9 Feb 2006 16:38:48 +0000 Subject: [PATCH] CORBA::ORB_ptr orb instead of _var --- src/TestContainer/TestContainer.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.39.2