00001 // Refcounted_Auto_Ptr.cpp,v 4.2 2005/10/28 16:14:55 ossama Exp 00002 00003 #ifndef ACE_REFCOUNTED_AUTO_PTR_CPP 00004 #define ACE_REFCOUNTED_AUTO_PTR_CPP 00005 00006 #include "ace/Refcounted_Auto_Ptr.h" 00007 00008 ACE_BEGIN_VERSIONED_NAMESPACE_DECL 00009 00010 template <class X, class ACE_LOCK> 00011 ACE_Refcounted_Auto_Ptr<X, ACE_LOCK>::~ACE_Refcounted_Auto_Ptr (void) 00012 { 00013 AUTO_REFCOUNTED_PTR_REP::detach (rep_); 00014 } 00015 00016 ACE_END_VERSIONED_NAMESPACE_DECL 00017 00018 #endif /* !ACE_REFCOUNTED_AUTO_PTR_CPP */