diff options
Diffstat (limited to 'TAO/tao/Object.cpp')
-rw-r--r-- | TAO/tao/Object.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/TAO/tao/Object.cpp b/TAO/tao/Object.cpp index 0b2f486eaee..d1e1ea7ce67 100644 --- a/TAO/tao/Object.cpp +++ b/TAO/tao/Object.cpp @@ -21,7 +21,6 @@ #include "tao/InterfaceC.h" #endif /* TAO_HAS_INTERFACE_REPOSITORY == 1 */ - #include "ace/Auto_Ptr.h" #if !defined (__ACE_INLINE__) @@ -50,6 +49,13 @@ CORBA_Object::CORBA_Object (TAO_Stub *protocol_proxy, // implicitly takes a reference. } +void +CORBA_Object::_tao_any_destructor (void *x) +{ + CORBA_Object_ptr tmp = ACE_static_cast(CORBA_Object_ptr,x); + CORBA::release (tmp); +} + // IS_A ... ask the object if it's an instance of the type whose // logical type ID is passed as a parameter. |