diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:11 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:11 +0000 |
commit | 6b846cf03c0bcbd8c276cb0af61a181e5f98eaae (patch) | |
tree | da50d054f9c761c3f6a5923f6979e93306c56d68 /TAO/tao/Intrusive_Ref_Count_Base_T.inl | |
parent | 0e555b9150d38e3b3473ba325b56db2642e6352b (diff) | |
download | ATCD-6b846cf03c0bcbd8c276cb0af61a181e5f98eaae.tar.gz |
Repo restructuring
Diffstat (limited to 'TAO/tao/Intrusive_Ref_Count_Base_T.inl')
-rw-r--r-- | TAO/tao/Intrusive_Ref_Count_Base_T.inl | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/TAO/tao/Intrusive_Ref_Count_Base_T.inl b/TAO/tao/Intrusive_Ref_Count_Base_T.inl deleted file mode 100644 index 26e5026c413..00000000000 --- a/TAO/tao/Intrusive_Ref_Count_Base_T.inl +++ /dev/null @@ -1,38 +0,0 @@ -// -*- C++ -*- -// -// $Id$ - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -template <typename T> -ACE_INLINE -TAO_Intrusive_Ref_Count_Base<T>::TAO_Intrusive_Ref_Count_Base (void) - : ref_count_(1) -{} - - -template <typename T> -ACE_INLINE -void -TAO_Intrusive_Ref_Count_Base<T>::_add_ref (void) -{ - ++this->ref_count_; -} - - -template <typename T> -ACE_INLINE -void -TAO_Intrusive_Ref_Count_Base<T>::_remove_ref (void) -{ - long const new_count = --this->ref_count_; - - if (new_count != 0) - { - return; - } - - delete this; -} - -TAO_END_VERSIONED_NAMESPACE_DECL |