From 5c3f9fb7760f8db720c1ab69d5355a752ac15e86 Mon Sep 17 00:00:00 2001 From: paolo Date: Wed, 24 Nov 2004 13:39:48 +0000 Subject: 2004-11-24 Volker Reichelt * config/locale/ieee_1003.1-2001/codecvt_specializations.h (do_out, do_unshift, do_in): Remove redundant typedef. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91156 138bc75d-0d04-0410-961f-82ee72b054a4 --- libstdc++-v3/ChangeLog | 5 +++++ .../config/locale/ieee_1003.1-2001/codecvt_specializations.h | 9 ++++----- 2 files changed, 9 insertions(+), 5 deletions(-) (limited to 'libstdc++-v3') diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 75fd077bb99..0b94b8a1cfa 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2004-11-24 Volker Reichelt + + * config/locale/ieee_1003.1-2001/codecvt_specializations.h + (do_out, do_unshift, do_in): Remove redundant typedef. + 2004-11-23 Chris Jefferson * testsuite/testsuite_iterators.h: New. diff --git a/libstdc++-v3/config/locale/ieee_1003.1-2001/codecvt_specializations.h b/libstdc++-v3/config/locale/ieee_1003.1-2001/codecvt_specializations.h index 268a79e3627..29f12d93ea3 100644 --- a/libstdc++-v3/config/locale/ieee_1003.1-2001/codecvt_specializations.h +++ b/libstdc++-v3/config/locale/ieee_1003.1-2001/codecvt_specializations.h @@ -286,7 +286,6 @@ result __ret = codecvt_base::error; if (__state._M_good()) { - typedef state_type::__desc_type __desc_type; const __desc_type* __desc = __state._M_get_out_descriptor(); const size_t __fmultiple = sizeof(intern_type); size_t __fbytes = __fmultiple * (__from_end - __from); @@ -308,7 +307,8 @@ if (__int_bom) { size_t __size = __from_end - __from; - intern_type* __cfixed = static_cast(__builtin_alloca(sizeof(intern_type) * (__size + 1))); + intern_type* __cfixed = static_cast + (__builtin_alloca(sizeof(intern_type) * (__size + 1))); __cfixed[0] = static_cast(__int_bom); char_traits::copy(__cfixed + 1, __from, __size); __cfrom = reinterpret_cast(__cfixed); @@ -353,7 +353,6 @@ result __ret = codecvt_base::error; if (__state._M_good()) { - typedef state_type::__desc_type __desc_type; const __desc_type* __desc = __state._M_get_in_descriptor(); const size_t __tmultiple = sizeof(intern_type); size_t __tlen = __tmultiple * (__to_end - __to); @@ -391,7 +390,6 @@ result __ret = codecvt_base::error; if (__state._M_good()) { - typedef state_type::__desc_type __desc_type; const __desc_type* __desc = __state._M_get_in_descriptor(); const size_t __fmultiple = sizeof(extern_type); size_t __flen = __fmultiple * (__from_end - __from); @@ -413,7 +411,8 @@ if (__ext_bom) { size_t __size = __from_end - __from; - extern_type* __cfixed = static_cast(__builtin_alloca(sizeof(extern_type) * (__size + 1))); + extern_type* __cfixed = static_cast + (__builtin_alloca(sizeof(extern_type) * (__size + 1))); __cfixed[0] = static_cast(__ext_bom); char_traits::copy(__cfixed + 1, __from, __size); __cfrom = reinterpret_cast(__cfixed); -- cgit v1.2.1