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/Refcounted_ObjectKey.cpp | |
parent | 0e555b9150d38e3b3473ba325b56db2642e6352b (diff) | |
download | ATCD-6b846cf03c0bcbd8c276cb0af61a181e5f98eaae.tar.gz |
Repo restructuring
Diffstat (limited to 'TAO/tao/Refcounted_ObjectKey.cpp')
-rw-r--r-- | TAO/tao/Refcounted_ObjectKey.cpp | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/TAO/tao/Refcounted_ObjectKey.cpp b/TAO/tao/Refcounted_ObjectKey.cpp deleted file mode 100644 index 074a9e3d6ed..00000000000 --- a/TAO/tao/Refcounted_ObjectKey.cpp +++ /dev/null @@ -1,41 +0,0 @@ -//$Id$ -#include "tao/Refcounted_ObjectKey.h" -#include "ace/Log_Msg.h" - -#if !defined (__ACE_INLINE__) -#include "tao/Refcounted_ObjectKey.inl" -#endif /* defined INLINE */ - -ACE_RCSID(tao, - Refcounted_ObjectKey, - "$Id$") - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -TAO::Refcounted_ObjectKey::Refcounted_ObjectKey (const TAO::ObjectKey &key) - : object_key_ (key) - , ref_count_ (1) -{ -} - -TAO::Refcounted_ObjectKey::~Refcounted_ObjectKey (void) -{ -} - -CORBA::ULong -TAO::Refcounted_ObjectKey::decr_refcount (void) -{ - if (--this->ref_count_ > 0) - { - return this->ref_count_; - } - - ACE_ASSERT (this->ref_count_ == 0); - - delete this; - - return 0; -} - -TAO_END_VERSIONED_NAMESPACE_DECL |