diff options
author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-10-11 17:48:12 +0000 |
---|---|---|
committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-10-11 17:48:12 +0000 |
commit | ecc9f825fe7e466a5f0cfd09a57022cbc2aea1df (patch) | |
tree | a849952d4cb76c2c0c5ba657bd5db299bc9a56d7 /libstdc++/stl | |
parent | e129c98d22268da05c105354ffc56f00aca4f897 (diff) | |
download | gcc-ecc9f825fe7e466a5f0cfd09a57022cbc2aea1df.tar.gz |
* memory (auto_ptr::operator auto_ptr_ref<_Tp1>): Fix typo.
(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
Diffstat (limited to 'libstdc++/stl')
-rw-r--r-- | libstdc++/stl/ChangeLog | 6 | ||||
-rw-r--r-- | 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 <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 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 <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 */ }; |