From 5ada5d0f9979259a3134c16b5cdfc0a88699a0a1 Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Sun, 11 Oct 1998 17:48:12 +0000 Subject: [PATCH] memory (auto_ptr::operator auto_ptr_ref<_Tp1>): Fix typo. * memory (auto_ptr::operator auto_ptr_ref<_Tp1>): Fix typo. (auto_ptr::operator auto_ptr<_Tp1>): Add missing semicolon. From-SVN: r22988 --- libstdc++/stl/ChangeLog | 6 ++++++ libstdc++/stl/memory | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/libstdc++/stl/ChangeLog b/libstdc++/stl/ChangeLog index 1039d633bce..d95b1073c08 100644 --- a/libstdc++/stl/ChangeLog +++ b/libstdc++/stl/ChangeLog @@ -1,3 +1,9 @@ +1998-10-11 Mark Mitchell + + * memory (auto_ptr::operator auto_ptr_ref<_Tp1>): Fix typo. + (auto_ptr::operator auto_ptr<_Tp1>): Add missing + semicolon. + 1998-09-03 Jason Merrill * stl_config.h: Define __STL_HAS_WCHAR_T, diff --git a/libstdc++/stl/memory b/libstdc++/stl/memory index 168843d5d1f..64338dd313a 100644 --- a/libstdc++/stl/memory +++ b/libstdc++/stl/memory @@ -90,9 +90,9 @@ public: auto_ptr(auto_ptr_ref<_Tp> __ref) __STL_NOTHROW : _M_ptr(__ref._M_ptr) {} template operator auto_ptr_ref<_Tp1>() __STL_NOTHROW - { return auto_ptr_ref<_Tp>(this.release()); } + { return auto_ptr_ref<_Tp>(this->release()); } template operator auto_ptr<_Tp1>() __STL_NOTHROW - { return auto_ptr<_Tp1>(this->release()) } + { return auto_ptr<_Tp1>(this->release()); } #endif /* __SGI_STL_USE_AUTO_PTR_CONVERSIONS */ }; -- 2.30.2