aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven King <sxking@uswest.net>2000-05-02 00:27:21 +0000
committerBenjamin Kosnik <bkoz@gcc.gnu.org>2000-05-02 00:27:21 +0000
commit53a6ca299039a1bd5bd2a5fd9bded28077783f27 (patch)
tree6c893df29aff04fe130bbb55b5e52b699972a0d2
parentcf889600be18d2a2bc7ed58321f8b72ddb83f5de (diff)
downloadgcc-53a6ca299039a1bd5bd2a5fd9bded28077783f27.zip
gcc-53a6ca299039a1bd5bd2a5fd9bded28077783f27.tar.gz
gcc-53a6ca299039a1bd5bd2a5fd9bded28077783f27.tar.bz2
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
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/bits/locale_facets.h8
-rw-r--r--libstdc++-v3/bits/std_fstream.h2
3 files changed, 10 insertions, 5 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 61a0e79..c386976 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -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.
diff --git a/libstdc++-v3/bits/locale_facets.h b/libstdc++-v3/bits/locale_facets.h
index ec40d0f..5de91e1 100644
--- a/libstdc++-v3/bits/locale_facets.h
+++ b/libstdc++-v3/bits/locale_facets.h
@@ -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;
diff --git a/libstdc++-v3/bits/std_fstream.h b/libstdc++-v3/bits/std_fstream.h
index 5326852..3178c82 100644
--- a/libstdc++-v3/bits/std_fstream.h
+++ b/libstdc++-v3/bits/std_fstream.h
@@ -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.