OSDN Git Service

2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 16 Feb 2002 00:50:58 +0000 (00:50 +0000)
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 16 Feb 2002 00:50:58 +0000 (00:50 +0000)
* src/locale.cc (moneypunct_byname): Remove definitions.
* include/std/std_streambuf.h (streambuf::operator=): Return.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49799 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/include/std/std_streambuf.h
libstdc++-v3/src/locale.cc

index efc9bad..511d313 100644 (file)
@@ -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.
index f57d96f..919c1db 100644 (file)
@@ -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
index 0cea95b..789cdf1 100644 (file)
@@ -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