From 1492cacbf99161cbd34d92ae575b5e2de9a63fe7 Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Thu, 17 Aug 2000 20:13:47 +0000 Subject: [PATCH] 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 --- libstdc++-v3/ChangeLog | 6 ++++++ libstdc++-v3/bits/localefwd.h | 2 +- libstdc++-v3/bits/std_fstream.h | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) 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: -- 2.30.2