diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-08-22 01:59:24 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-08-22 01:59:24 +0000 |
commit | 4c372220787621b3620c3e80373297995a2274d0 (patch) | |
tree | 0b874217da978ff71542db6a4ca87da4e79bc5b6 /ace/Auto_Ptr.cpp | |
parent | a5eb53e73c47454dc1dee71201812f41ac520ae2 (diff) | |
download | ATCD-4c372220787621b3620c3e80373297995a2274d0.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Auto_Ptr.cpp')
-rw-r--r-- | ace/Auto_Ptr.cpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/ace/Auto_Ptr.cpp b/ace/Auto_Ptr.cpp index e6f5ef69a03..6f082595f81 100644 --- a/ace/Auto_Ptr.cpp +++ b/ace/Auto_Ptr.cpp @@ -11,9 +11,6 @@ #include "ace/Auto_Ptr.i" #endif /* __ACE_INLINE__ */ -#if !defined (ACE_HAS_STANDARD_CPP_LIBRARY) || \ - (ACE_HAS_STANDARD_CPP_LIBRARY == 0) - ACE_ALLOC_HOOK_DEFINE(ACE_Auto_Basic_Ptr) template<class X> void @@ -22,18 +19,6 @@ ACE_Auto_Basic_Ptr<X>::dump (void) const ACE_TRACE ("ACE_Auto_Basic_Ptr<X>::dump"); } -template<class X> void -ACE_Auto_Basic_Ptr<X>::remove (X *& x) -{ - ACE_TRACE ("ACE_Auto_Basic_Ptr<X>::remove"); - - X *tp = x; - x = 0; - delete tp; -} - -#endif /* ACE_HAS_STANDARD_CPP_LIBRARY */ - ACE_ALLOC_HOOK_DEFINE(ACE_Auto_Basic_Array_Ptr) template<class X> void @@ -42,14 +27,4 @@ ACE_Auto_Basic_Array_Ptr<X>::dump (void) const ACE_TRACE ("ACE_Auto_Basic_Array_Ptr<X>::dump"); } -template<class X> void -ACE_Auto_Basic_Array_Ptr<X>::remove (X *& x) -{ - ACE_TRACE ("ACE_Auto_Basic_Array_Ptr<X>::remove"); - - X *tp = x; - x = 0; - delete [] tp; -} - #endif /* ACE_AUTO_PTR_C */ |