aboutsummaryrefslogtreecommitdiff
path: root/libstdc++
diff options
context:
space:
mode:
authorMark Mitchell <mark@markmitchell.com>1998-10-11 17:48:12 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1998-10-11 17:48:12 +0000
commit5ada5d0f9979259a3134c16b5cdfc0a88699a0a1 (patch)
treea849952d4cb76c2c0c5ba657bd5db299bc9a56d7 /libstdc++
parent6df47b0613bcbf1fc764e4725f1f2812a04884e4 (diff)
downloadgcc-5ada5d0f9979259a3134c16b5cdfc0a88699a0a1.zip
gcc-5ada5d0f9979259a3134c16b5cdfc0a88699a0a1.tar.gz
gcc-5ada5d0f9979259a3134c16b5cdfc0a88699a0a1.tar.bz2
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
Diffstat (limited to 'libstdc++')
-rw-r--r--libstdc++/stl/ChangeLog6
-rw-r--r--libstdc++/stl/memory4
2 files changed, 8 insertions, 2 deletions
diff --git a/libstdc++/stl/ChangeLog b/libstdc++/stl/ChangeLog
index 1039d63..d95b107 100644
--- a/libstdc++/stl/ChangeLog
+++ b/libstdc++/stl/ChangeLog
@@ -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,
diff --git a/libstdc++/stl/memory b/libstdc++/stl/memory
index 168843d..64338dd 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 <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 */
};