localefwd.h (std::locale): Use explicit `class' specified when declaring friends.
authorMark Mitchell <mark@codesourcery.com>
Thu, 17 Aug 2000 20:13:47 +0000 (20:13 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 17 Aug 2000 20:13:47 +0000 (20:13 +0000)
* bits/localefwd.h (std::locale): Use explicit `class' specified
when declaring friends.
* bits/std_fstream.h (std::basic_filebuf): Likewise.

From-SVN: r35767

libstdc++-v3/ChangeLog
libstdc++-v3/bits/localefwd.h
libstdc++-v3/bits/std_fstream.h

index 6b60a5ae4e0b3bce33fb4ba4b14b21f538124c6a..d104533fb3f63c7cb0b62376f998c41f4677cedf 100644 (file)
@@ -1,3 +1,9 @@
+2000-08-17  Mark Mitchell  <mark@codesourcery.com>
+
+       * bits/localefwd.h (std::locale): Use explicit `class' specified
+       when declaring friends.
+       * bits/std_fstream.h (std::basic_filebuf): Likewise.
+
 2000-08-16  Alexandre Oliva  <aoliva@redhat.com>
 
        * src/Makefile.am (libstdc++.INC): Renamed from INCLUDES.
index ceb376c02b667392b311ff7cbd97bf9565b10979..719ad0250ffb4bd463348d03debe1bd51b4fadd3 100644 (file)
@@ -210,7 +210,7 @@ namespace std
   {
     // Forwrd decls and friends:
     class _Impl;
-    friend _Impl;
+    friend class _Impl;
 
     template<typename _Facet>
       friend const _Facet& 
index d745ee93c289004884c8e5fe22c68c106c3ef69c..4cafb2d9ee38150ddf25b53ddaec265bc6e4a1c4 100644 (file)
@@ -61,7 +61,7 @@ namespace std {
       typedef codecvt<char_type, char, __state_type>    __codecvt_type;
       typedef typename __codecvt_type::result          __res_type;
       
-      friend ios_base; // For sync_with_stdio.
+      friend class ios_base; // For sync_with_stdio.
 
     private:
       // Data Members: