diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2002-02-16 00:50:58 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2002-02-16 00:50:58 +0000 |
commit | c7bbe0c45e7e45b245cd2b9b6b4dd87efce71901 (patch) | |
tree | b5730a5059033900b9c767690b00c9f966ebca93 | |
parent | a32e3c097ece9d1f02ec88b9c4a64aa62522c0a8 (diff) | |
download | gcc-c7bbe0c45e7e45b245cd2b9b6b4dd87efce71901.zip gcc-c7bbe0c45e7e45b245cd2b9b6b4dd87efce71901.tar.gz gcc-c7bbe0c45e7e45b245cd2b9b6b4dd87efce71901.tar.bz2 |
locale.cc (moneypunct_byname): Remove definitions.
2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
* src/locale.cc (moneypunct_byname): Remove definitions.
* include/std/std_streambuf.h (streambuf::operator=): Return.
From-SVN: r49799
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/include/std/std_streambuf.h | 2 | ||||
-rw-r--r-- | libstdc++-v3/src/locale.cc | 10 |
3 files changed, 6 insertions, 11 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index efc9bad..511d313 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,10 @@ 2002-02-15 Benjamin Kosnik <bkoz@redhat.com> + * src/locale.cc (moneypunct_byname): Remove definitions. + * include/std/std_streambuf.h (streambuf::operator=): Return. + +2002-02-15 Benjamin Kosnik <bkoz@redhat.com> + Tune for size. * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant explicit instantiation. diff --git a/libstdc++-v3/include/std/std_streambuf.h b/libstdc++-v3/include/std/std_streambuf.h index f57d96f..919c1db 100644 --- a/libstdc++-v3/include/std/std_streambuf.h +++ b/libstdc++-v3/include/std/std_streambuf.h @@ -523,7 +523,7 @@ namespace std basic_streambuf(const __streambuf_type&) { }; __streambuf_type& - operator=(const __streambuf_type&) { }; + operator=(const __streambuf_type&) { return *this; }; #endif }; } // namespace std diff --git a/libstdc++-v3/src/locale.cc b/libstdc++-v3/src/locale.cc index 0cea95b..789cdf1 100644 --- a/libstdc++-v3/src/locale.cc +++ b/libstdc++-v3/src/locale.cc @@ -581,14 +581,4 @@ namespace std *__fptr++ = __mod; *__fptr = '\0'; } - - template<> - moneypunct_byname<char, false>::moneypunct_byname(const char*, - size_t __refs) - : moneypunct<char, false>(__refs) { } - - template<> - moneypunct_byname<char, true>::moneypunct_byname(const char*, - size_t __refs) - : moneypunct<char, true>(__refs) { } } // namespace std |