summaryrefslogtreecommitdiff
path: root/TAO/tao/ValueBase.i
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/ValueBase.i')
-rw-r--r--TAO/tao/ValueBase.i6
1 files changed, 6 insertions, 0 deletions
diff --git a/TAO/tao/ValueBase.i b/TAO/tao/ValueBase.i
index 5557972bbbd..0fe4a816001 100644
--- a/TAO/tao/ValueBase.i
+++ b/TAO/tao/ValueBase.i
@@ -82,6 +82,12 @@ CORBA_ValueBase_var::operator= (const CORBA_ValueBase_var &p)
}
ACE_INLINE
+CORBA_ValueBase_var::operator const CORBA::ValueBase *() const // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE
CORBA_ValueBase_var::operator CORBA::ValueBase *&() // cast
{
return this->ptr_;