diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2008-04-24 18:49:54 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2008-04-24 18:49:54 +0000 |
commit | edd179f105d59985513c809f847ce8456926abef (patch) | |
tree | 87acb0a7348c43e376ad971b554cdcb50236b716 /TAO/tao/Profile.cpp | |
parent | 9c12f16b88039683cc6c1e727ccb7601e137fcd2 (diff) | |
download | ATCD-edd179f105d59985513c809f847ce8456926abef.tar.gz |
Thu Apr 24 18:33:32 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/Profile.cpp')
-rw-r--r-- | TAO/tao/Profile.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/TAO/tao/Profile.cpp b/TAO/tao/Profile.cpp index 8af3c2010a9..fa3cbbc1c30 100644 --- a/TAO/tao/Profile.cpp +++ b/TAO/tao/Profile.cpp @@ -80,25 +80,6 @@ TAO_Profile::~TAO_Profile (void) //@@ TAO_PROFILE_SPL_DESTRUCTOR_ADD_HOOK } -unsigned long -TAO_Profile::_incr_refcnt (void) -{ - return this->refcount_.increment (); -} - -unsigned long -TAO_Profile::_decr_refcnt (void) -{ - unsigned long count = this->refcount_.decrement (); - if (count != 0) - return count; - - // refcount is 0, so delete us! - // delete will call our ~ destructor which in turn deletes stuff. - delete this; - return 0; -} - void TAO_Profile::add_tagged_component (const IOP::TaggedComponent &component) { |