locale.cc (moneypunct_byname): Remove definitions.
authorBenjamin Kosnik <bkoz@redhat.com>
Sat, 16 Feb 2002 00:50:58 +0000 (00:50 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Sat, 16 Feb 2002 00:50:58 +0000 (00:50 +0000)
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

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

index efc9bade1162bf783760ca5e1cb539cef9737b94..511d3131cc5b4f7271a47ce53610ec838c2c1440 100644 (file)
@@ -1,3 +1,8 @@
+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.
index f57d96fc17da75f84a6c294ad9e2a5f0c9c0c96e..919c1db022fce073d517a1fdb32ce9ddcef24b03 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 0cea95b386aae396f929a855126670f2637e9611..789cdf1f43039f763e2155c4461d75047fdf4754 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