diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-07-22 21:28:08 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-07-22 21:28:08 +0000 |
commit | 94ecec8fd793c81dc226516f6237d7fac448ce0d (patch) | |
tree | b0c51061cd9d398d0bd22924405656bce9c344dd /TAO/tao/Object.i | |
parent | fd2d81d366f36b65240ab642fcc70743dd0732e8 (diff) | |
download | ATCD-94ecec8fd793c81dc226516f6237d7fac448ce0d.tar.gz |
ChangeLogTag:Wed Jul 22 16:26:34 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/Object.i')
-rw-r--r-- | TAO/tao/Object.i | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/TAO/tao/Object.i b/TAO/tao/Object.i index 84a18d095ff..98ece395a43 100644 --- a/TAO/tao/Object.i +++ b/TAO/tao/Object.i @@ -83,10 +83,22 @@ CORBA_Object::_request (const CORBA::Char *operation, // ************************************************************* ACE_INLINE +CORBA_Object_var::CORBA_Object_var (void) + : ptr_ (CORBA_Object::_nil ()) +{ +} + +ACE_INLINE CORBA_Object_var::CORBA_Object_var (CORBA_Object_ptr p) - : ptr_ (p) + : ptr_ (p) {} +ACE_INLINE +CORBA_Object_var::~CORBA_Object_var (void) +{ + CORBA::release (this->ptr_); +} + ACE_INLINE CORBA_Object_ptr CORBA_Object_var::ptr (void) const { |