summaryrefslogtreecommitdiff
path: root/TAO/tao/ValueBase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/ValueBase.cpp')
-rw-r--r--TAO/tao/ValueBase.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/TAO/tao/ValueBase.cpp b/TAO/tao/ValueBase.cpp
index e32b0145db9..e3f64fcebe6 100644
--- a/TAO/tao/ValueBase.cpp
+++ b/TAO/tao/ValueBase.cpp
@@ -27,6 +27,20 @@
ACE_RCSID(tao, ValueBase, "$Id$")
+void
+CORBA::add_ref (CORBA::ValueBase *val)
+{
+ if (val)
+ val->_add_ref ();
+}
+
+void
+CORBA::remove_ref (CORBA::ValueBase *val)
+{
+ if (val)
+ val->_remove_ref ();
+}
+
// destructor
CORBA_ValueBase::~CORBA_ValueBase (void)
{