From: Mark Mitchell Date: Thu, 17 Aug 2000 20:13:47 +0000 (+0000) Subject: localefwd.h (std::locale): Use explicit `class' specified when declaring friends. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1492cacbf99161cbd34d92ae575b5e2de9a63fe7;p=gcc.git localefwd.h (std::locale): Use explicit `class' specified when declaring friends. * bits/localefwd.h (std::locale): Use explicit `class' specified when declaring friends. * bits/std_fstream.h (std::basic_filebuf): Likewise. From-SVN: r35767 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 6b60a5ae4e0..d104533fb3f 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2000-08-17 Mark Mitchell + + * 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 * src/Makefile.am (libstdc++.INC): Renamed from INCLUDES. diff --git a/libstdc++-v3/bits/localefwd.h b/libstdc++-v3/bits/localefwd.h index ceb376c02b6..719ad0250ff 100644 --- a/libstdc++-v3/bits/localefwd.h +++ b/libstdc++-v3/bits/localefwd.h @@ -210,7 +210,7 @@ namespace std { // Forwrd decls and friends: class _Impl; - friend _Impl; + friend class _Impl; template friend const _Facet& diff --git a/libstdc++-v3/bits/std_fstream.h b/libstdc++-v3/bits/std_fstream.h index d745ee93c28..4cafb2d9ee3 100644 --- a/libstdc++-v3/bits/std_fstream.h +++ b/libstdc++-v3/bits/std_fstream.h @@ -61,7 +61,7 @@ namespace std { typedef codecvt __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: