diff options
author | sma <sma@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2008-04-10 08:14:50 +0000 |
---|---|---|
committer | sma <sma@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2008-04-10 08:14:50 +0000 |
commit | e92251c0839f857e7f9afaefd9704e8fff312b3f (patch) | |
tree | 999b84c24c6e6d1c64672a795cfa17b4d63e4497 /TAO/orbsvcs/performance-tests/RTEvent | |
parent | 82043f59b2464491c9e2e2d0b4669f0f3e9473b8 (diff) | |
download | ATCD-e92251c0839f857e7f9afaefd9704e8fff312b3f.tar.gz |
ChangeLogTag: Thu Apr 10 08:15:00 UTC 2008 Simon Massey <simon dot massey at prismtech dot com>
Diffstat (limited to 'TAO/orbsvcs/performance-tests/RTEvent')
-rw-r--r-- | TAO/orbsvcs/performance-tests/RTEvent/lib/RIR_Narrow.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/TAO/orbsvcs/performance-tests/RTEvent/lib/RIR_Narrow.cpp b/TAO/orbsvcs/performance-tests/RTEvent/lib/RIR_Narrow.cpp index 0fb7d2c70bf..1f754d71b06 100644 --- a/TAO/orbsvcs/performance-tests/RTEvent/lib/RIR_Narrow.cpp +++ b/TAO/orbsvcs/performance-tests/RTEvent/lib/RIR_Narrow.cpp @@ -19,16 +19,16 @@ template<class Interface> typename RIR_Narrow<Interface>::Interface_ptr RIR_Narrow<Interface>::resolve (CORBA::ORB_ptr orb, const char *object_id) { - Interface_var interface; + Interface_var intface; try { CORBA::Object_var object = orb->resolve_initial_references (object_id); - interface = Interface::_narrow (object.in ()); + intface = Interface::_narrow (object.in ()); - if (CORBA::is_nil (interface.in ())) + if (CORBA::is_nil (intface.in ())) { ACE_ERROR ((LM_ERROR, "Panic - error while narrowing <%s>\n", @@ -38,7 +38,7 @@ RIR_Narrow<Interface>::resolve (CORBA::ORB_ptr orb, } catch (const CORBA::Exception& ex) { ex._tao_print_exception ("Caught an exception \n"); } - return interface._retn (); + return intface._retn (); } #endif /* TAO_PERF_RTEC_RIR_NARROW_CPP */ |