diff options
-rw-r--r-- | libstdc++-v3/ChangeLog | 6 | ||||
-rw-r--r-- | libstdc++-v3/bits/localefwd.h | 2 | ||||
-rw-r--r-- | 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 6b60a5a..d104533f 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -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. diff --git a/libstdc++-v3/bits/localefwd.h b/libstdc++-v3/bits/localefwd.h index ceb376c..719ad02 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<typename _Facet> friend const _Facet& diff --git a/libstdc++-v3/bits/std_fstream.h b/libstdc++-v3/bits/std_fstream.h index d745ee9..4cafb2d 100644 --- a/libstdc++-v3/bits/std_fstream.h +++ b/libstdc++-v3/bits/std_fstream.h @@ -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: |