summaryrefslogtreecommitdiff
path: root/TAO/tao/DynamicInterface/Context.inl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/DynamicInterface/Context.inl')
-rw-r--r--TAO/tao/DynamicInterface/Context.inl40
1 files changed, 2 insertions, 38 deletions
diff --git a/TAO/tao/DynamicInterface/Context.inl b/TAO/tao/DynamicInterface/Context.inl
index 87c338e31e0..459cc2bca87 100644
--- a/TAO/tao/DynamicInterface/Context.inl
+++ b/TAO/tao/DynamicInterface/Context.inl
@@ -5,48 +5,12 @@
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_INLINE
-void
-CORBA::release (CORBA::Context_ptr x)
-{
- if (x != 0)
- {
- x->_decr_refcnt ();
- }
-}
-
-ACE_INLINE
-CORBA::Boolean
-CORBA::is_nil (CORBA::Context_ptr x)
-{
- return (CORBA::Boolean) (x == 0);
-}
-
-ACE_INLINE
-void
-CORBA::release (CORBA::ContextList *x)
-{
- if (x != 0)
- {
- x->_decr_refcnt ();
- }
-}
-
-ACE_INLINE
-CORBA::Boolean
-CORBA::is_nil (CORBA::ContextList_ptr x)
-{
- return (CORBA::Boolean) (x == 0);
-}
-
-// ===================================================================
-
-ACE_INLINE
CORBA::Context_ptr
CORBA::Context::_duplicate (CORBA::Context_ptr x)
{
if (x != 0)
{
- x->_incr_refcnt ();
+ x->_incr_refcount ();
}
return x;
@@ -88,7 +52,7 @@ CORBA::ContextList::_duplicate (CORBA::ContextList_ptr x)
{
if (x != 0)
{
- x->_incr_refcnt ();
+ x->_incr_refcount ();
}
return x;