memory (auto_ptr::operator auto_ptr_ref<_Tp1>): Fix typo.
authorMark Mitchell <mark@markmitchell.com>
Sun, 11 Oct 1998 17:48:12 +0000 (17:48 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 11 Oct 1998 17:48:12 +0000 (17:48 +0000)
* 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
libstdc++/stl/memory

index 1039d633bce5b05080b23c4f539569f89bfe04c6..d95b1073c08eada43fe535b678fec3f93c783f9e 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 168843d5d1f320c166716d801ee066f6a1b17f1b..64338dd313a6a070360463b2fbe7a1db6826f3a4 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 */
 };