diff options
| -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 |
