]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2004-13-06 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
authorVolker Reichelt <reichelt@igpm.rwth-aachen.de>
Mon, 6 Dec 2004 16:18:35 +0000 (16:18 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 6 Dec 2004 16:18:35 +0000 (16:18 +0000)
* config/locale/ieee_1003.1-2001/codecvt_specializations.h
(do_out, do_unshift, do_in): Remove redundant typedef.

From-SVN: r91781

libstdc++-v3/ChangeLog
libstdc++-v3/config/locale/ieee_1003.1-2001/codecvt_specializations.h

index 81a89b4254817831e650d230eb78b8dbc49a88ff..36203bc986b7e83f147b335dd840c22cd0c7bda7 100644 (file)
@@ -1,3 +1,8 @@
+2004-12-06  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
+
+       * config/locale/ieee_1003.1-2001/codecvt_specializations.h
+       (do_out, do_unshift, do_in): Remove redundant typedef.
+
 2004-11-24  Jonathan Wakely  <redi@kayari.org>
 
        * docs/html/ext/howto.html: Fix incorrect link.
index ef0923deb49c328dff8d4acf57b13321a9bc5c54..79a033d17c8b078666d31f7baf06d0b47b497f39 100644 (file)
       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);
          if (__int_bom)
            {     
              size_t __size = __from_end - __from;
-             intern_type* __cfixed = static_cast<intern_type*>(__builtin_alloca(sizeof(intern_type) * (__size + 1)));
+             intern_type* __cfixed = static_cast<intern_type*>
+               (__builtin_alloca(sizeof(intern_type) * (__size + 1)));
              __cfixed[0] = static_cast<intern_type>(__int_bom);
              char_traits<intern_type>::copy(__cfixed + 1, __from, __size);
              __cfrom = reinterpret_cast<char*>(__cfixed);
       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); 
       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);
          if (__ext_bom)
            {     
              size_t __size = __from_end - __from;
-             extern_type* __cfixed =  static_cast<extern_type*>(__builtin_alloca(sizeof(extern_type) * (__size + 1)));
+             extern_type* __cfixed =  static_cast<extern_type*>
+               (__builtin_alloca(sizeof(extern_type) * (__size + 1)));
              __cfixed[0] = static_cast<extern_type>(__ext_bom);
              char_traits<extern_type>::copy(__cfixed + 1, __from, __size);
              __cfrom = reinterpret_cast<char*>(__cfixed);