summaryrefslogtreecommitdiff
path: root/TAO/tao/ORB.i
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/ORB.i')
-rw-r--r--TAO/tao/ORB.i10
1 files changed, 6 insertions, 4 deletions
diff --git a/TAO/tao/ORB.i b/TAO/tao/ORB.i
index 16a9d6be7e6..89ddfb694a1 100644
--- a/TAO/tao/ORB.i
+++ b/TAO/tao/ORB.i
@@ -2,6 +2,7 @@
//
// $Id$
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
// ---------------------------------------------------------------------------
// ORB specific
@@ -10,9 +11,9 @@
ACE_INLINE CORBA::ULong
CORBA::ORB::_incr_refcnt (void)
{
- ACE_GUARD_RETURN (TAO_SYNCH_MUTEX,
- guard,
- lock_,
+ ACE_GUARD_RETURN (TAO_SYNCH_MUTEX,
+ guard,
+ lock_,
0);
return ++this->refcount_;
}
@@ -22,7 +23,7 @@ CORBA::ORB::_decr_refcnt (void)
{
{
ACE_GUARD_RETURN (TAO_SYNCH_MUTEX, mon, this->lock_, 0);
- this->refcount_--;
+ --this->refcount_;
if (this->refcount_ != 0)
{
@@ -88,3 +89,4 @@ CORBA::release (CORBA::ORB_ptr obj)
obj->_decr_refcnt ();
}
+TAO_END_VERSIONED_NAMESPACE_DECL