OSDN Git Service

* memory (auto_ptr::operator auto_ptr_ref<_Tp1>): Fix typo.
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 11 Oct 1998 17:48:12 +0000 (17:48 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 11 Oct 1998 17:48:12 +0000 (17:48 +0000)
(auto_ptr::operator auto_ptr<_Tp1>): Add missing
semicolon.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22988 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++/stl/ChangeLog
libstdc++/stl/memory

index 1039d63..d95b107 100644 (file)
@@ -1,3 +1,9 @@
+1998-10-11  Mark Mitchell  <mark@markmitchell.com>
+
+       * memory (auto_ptr::operator auto_ptr_ref<_Tp1>): Fix typo.
+       (auto_ptr::operator auto_ptr<_Tp1>): Add missing 
+       semicolon.
+       
 1998-09-03  Jason Merrill  <jason@yorick.cygnus.com>
 
        * stl_config.h: Define __STL_HAS_WCHAR_T,
index 168843d..64338dd 100644 (file)
@@ -90,9 +90,9 @@ public:
   auto_ptr(auto_ptr_ref<_Tp> __ref) __STL_NOTHROW
     : _M_ptr(__ref._M_ptr) {}
   template <class _Tp1> operator auto_ptr_ref<_Tp1>() __STL_NOTHROW 
-    { return auto_ptr_ref<_Tp>(this.release()); }
+    { return auto_ptr_ref<_Tp>(this->release()); }
   template <class _Tp1> 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 */
 };