locale_facets.h: Fix syntax error.

2000-04-30  Steven King <sxking@uswest.net>

        * bits/locale_facets.h: Fix syntax  error.
        * bits/std_fstream.h: ditto

From-SVN: r33599
This commit is contained in:
Steven King 2000-05-02 00:27:21 +00:00 committed by Benjamin Kosnik
parent cf889600be
commit 53a6ca2990
3 changed files with 10 additions and 5 deletions

View File

@ -4,6 +4,11 @@
* src/Makefile.in: Regenerate.
* acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Revert.
2000-04-30 Steven King <sxking@uswest.net>
* bits/locale_facets.h: Fix syntax error.
* bits/std_fstream.h: ditto
2000-04-30 Benjamin Kosnik <bkoz@gnu.org>
* config/cpu/powerpc/bits/atomicity.h (__compare_and_swap): Fix typo.

View File

@ -747,10 +747,10 @@ namespace std
{
public:
// Types:
typedef _CharT char_type;
typedef char_traits<_CharT> traits_type;
typedef basic_string<_CharT> string_type;
typedef string_type::size_type size_type;
typedef _CharT char_type;
typedef char_traits<_CharT> traits_type;
typedef basic_string<_CharT> string_type;
typedef typename string_type::size_type size_type;
// Forward decls and Friends:
friend class locale;

View File

@ -59,7 +59,7 @@ namespace std {
typedef __basic_file __file_type;
typedef typename _Traits::state_type __state_type;
typedef codecvt<_CharT, char, __state_type> __codecvt_type;
typedef codecvt<_CharT, char, __state_type>::result __res_type;
typedef typename __codecvt_type::result __res_type;
friend ios_base; // For sync_with_stdio.