diff options
Diffstat (limited to 'TAO/tests/Param_Test/objref.cpp')
-rw-r--r-- | TAO/tests/Param_Test/objref.cpp | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/TAO/tests/Param_Test/objref.cpp b/TAO/tests/Param_Test/objref.cpp index 16336c81869..9ef81ab4216 100644 --- a/TAO/tests/Param_Test/objref.cpp +++ b/TAO/tests/Param_Test/objref.cpp @@ -26,11 +26,7 @@ ACE_RCSID(Param_Test, objref, "$Id$") // ************************************************************************ Test_ObjRef::Test_ObjRef (void) - : opname_ (CORBA::string_dup ("test_objref")), - in_courier (new CORBA::Object_ptr), - inout_courier (new CORBA::Object_ptr), - out_courier (new CORBA::Object_ptr), - ret_courier (new CORBA::Object_ptr) + : opname_ (CORBA::string_dup ("test_objref")) { } @@ -38,11 +34,6 @@ Test_ObjRef::~Test_ObjRef (void) { CORBA::string_free (this->opname_); this->opname_ = 0; - - delete this->in_courier; - delete this->inout_courier; - delete this->out_courier; - delete this->ret_courier; } const char * @@ -161,12 +152,6 @@ Test_ObjRef::reset_parameters (void) this->out_ = Coffee::_nil (); this->ret_ = Coffee::_nil (); - // DII - *this->in_courier = ACE_dynamic_cast (CORBA::Object_ptr, - this->in_.in ()); - *this->inout_courier = ACE_dynamic_cast (CORBA::Object_ptr, - this->inout_.in ()); - return 0; } |