mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 01:37:00 +00:00
19 lines
483 B
C++
19 lines
483 B
C++
#ifndef ACE_REFCOUNTED_AUTO_PTR_CPP
|
|
#define ACE_REFCOUNTED_AUTO_PTR_CPP
|
|
|
|
#include "ace/Refcounted_Auto_Ptr.h"
|
|
|
|
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
|
|
|
|
ACE_ALLOC_HOOK_DEFINE_Tcc(ACE_Refcounted_Auto_Ptr)
|
|
ACE_ALLOC_HOOK_DEFINE_Tcc(ACE_Refcounted_Auto_Ptr_Rep)
|
|
|
|
template <class X, class ACE_LOCK>
|
|
ACE_Refcounted_Auto_Ptr<X, ACE_LOCK>::~ACE_Refcounted_Auto_Ptr (void)
|
|
{
|
|
AUTO_REFCOUNTED_PTR_REP::detach (rep_);
|
|
}
|
|
|
|
ACE_END_VERSIONED_NAMESPACE_DECL
|
|
|
|
#endif /* !ACE_REFCOUNTED_AUTO_PTR_CPP */
|