summaryrefslogtreecommitdiff
path: root/TAO/tao/Typecode.i
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Typecode.i')
-rw-r--r--TAO/tao/Typecode.i7
1 files changed, 7 insertions, 0 deletions
diff --git a/TAO/tao/Typecode.i b/TAO/tao/Typecode.i
index 6fbf45bdaf9..7a19e94e44f 100644
--- a/TAO/tao/Typecode.i
+++ b/TAO/tao/Typecode.i
@@ -251,6 +251,13 @@ CORBA_TypeCode_out::operator= (const CORBA_TypeCode_out &p)
}
ACE_INLINE CORBA_TypeCode_out &
+CORBA_TypeCode_out::operator= (const CORBA_TypeCode_var &p)
+{
+ this->ptr_ = CORBA_TypeCode::_duplicate (p.ptr ());
+ return *this;
+}
+
+ACE_INLINE CORBA_TypeCode_out &
CORBA_TypeCode_out::operator= (CORBA_TypeCode_ptr p)
{
this->ptr_ = p;