diff options
Diffstat (limited to 'TAO/tao/Any.i')
-rw-r--r-- | TAO/tao/Any.i | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/TAO/tao/Any.i b/TAO/tao/Any.i index eca61607bab..1000650365b 100644 --- a/TAO/tao/Any.i +++ b/TAO/tao/Any.i @@ -25,6 +25,15 @@ CORBA::Any_var::Any_var (CORBA::Any *p) } ACE_INLINE +CORBA::Any_var::Any_var (const CORBA::Any_var &r) +{ + CORBA::Any_ptr nptr; + ACE_NEW (nptr, + CORBA::Any (*r.ptr_)); + this->ptr_ = nptr; +} + +ACE_INLINE CORBA::Any_var::~Any_var (void) { delete this->ptr_; |