Ticket #8472: format.patch

File format.patch, 1.0 KB (added by Alexander Kornienko <alexfh@…>, 10 years ago)
  • boost/format/parsing.hpp

     
    267267        switch ( wrap_narrow(fac, *start, 0) ) {
    268268        case 'X':
    269269            fpar->fmtstate_.flags_ |= std::ios_base::uppercase;
     270            BOOST_FALLTHROUGH;
    270271        case 'p': // pointer => set hex.
    271272        case 'x':
    272273            fpar->fmtstate_.flags_ &= ~std::ios_base::basefield;
     
    280281
    281282        case 'E':
    282283            fpar->fmtstate_.flags_ |=  std::ios_base::uppercase;
     284            BOOST_FALLTHROUGH;
    283285        case 'e':
    284286            fpar->fmtstate_.flags_ &= ~std::ios_base::floatfield;
    285287            fpar->fmtstate_.flags_ |=  std::ios_base::scientific;
     
    291293        case 'f':
    292294            fpar->fmtstate_.flags_ &= ~std::ios_base::floatfield;
    293295            fpar->fmtstate_.flags_ |=  std::ios_base::fixed;
     296            BOOST_FALLTHROUGH;
    294297        case 'u':
    295298        case 'd':
    296299        case 'i':