diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-11-01 10:03:40 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-11-01 10:03:40 +0000 |
commit | 269f819048d8ce6d5f8f9f30d6342ee44b16cc23 (patch) | |
tree | fb068fc58c4f461d23835d4b4cd300ccdc13e3f5 | |
parent | e1f1ec61ce5a4488e5062011eb2911543ba52e91 (diff) | |
download | ATCD-269f819048d8ce6d5f8f9f30d6342ee44b16cc23.tar.gz |
ChangeLogTag: Tue Nov 1 09:50:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
-rw-r--r-- | TAO/tao/Profile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tao/Profile.cpp b/TAO/tao/Profile.cpp index c6730ac24cb..2018bad30ab 100644 --- a/TAO/tao/Profile.cpp +++ b/TAO/tao/Profile.cpp @@ -85,7 +85,7 @@ CORBA::ULong TAO_Profile::_incr_refcnt (void) { ACE_GUARD_RETURN (ACE_Lock, guard, *this->refcount_lock_, 0); - return this->refcount_++; + return ++this->refcount_; } CORBA::ULong @@ -93,7 +93,7 @@ TAO_Profile::_decr_refcnt (void) { { ACE_GUARD_RETURN (ACE_Lock, mon, *this->refcount_lock_, 0); - this->refcount_--; + --this->refcount_; if (this->refcount_ != 0) { |