summaryrefslogtreecommitdiff
path: root/ACE/ace/Intrusive_Auto_Ptr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Intrusive_Auto_Ptr.cpp')
-rw-r--r--ACE/ace/Intrusive_Auto_Ptr.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/ACE/ace/Intrusive_Auto_Ptr.cpp b/ACE/ace/Intrusive_Auto_Ptr.cpp
new file mode 100644
index 00000000000..bb8dcbaab11
--- /dev/null
+++ b/ACE/ace/Intrusive_Auto_Ptr.cpp
@@ -0,0 +1,22 @@
+// $Id$
+
+#ifndef ACE_INTRUSIVE_AUTO_PTR_CPP
+#define ACE_INTRUSIVE_AUTO_PTR_CPP
+
+#include "ace/Intrusive_Auto_Ptr.h"
+
+#if !defined (__ACE_INLINE__)
+#include "ace/Intrusive_Auto_Ptr.inl"
+#endif /* __ACE_INLINE __ */
+
+ACE_BEGIN_VERSIONED_NAMESPACE_DECL
+
+template <class X>
+ACE_Intrusive_Auto_Ptr<X>::~ACE_Intrusive_Auto_Ptr (void)
+{
+ reset (0);
+}
+
+ACE_END_VERSIONED_NAMESPACE_DECL
+
+#endif /* !ACE_INTRUSIVE_AUTO_PTR_CPP */