Ticket #1699: format_implementation.diff

File format_implementation.diff, 871 bytes (added by adam.buchbinder@…, 15 years ago)

Patch against current SVN, from Ubuntu bug report.

  • format_implementation.hpp

    old new  
    3737    template< class Ch, class Tr, class Alloc>
    3838    basic_format<Ch, Tr, Alloc>:: basic_format(const Ch* s, const std::locale & loc)
    3939        : style_(0), cur_arg_(0), num_args_(0), dumped_(false),
    40           loc_(loc), exceptions_(io::all_error_bits)
     40          exceptions_(io::all_error_bits), loc_(loc)
    4141    {
    4242        if(s) parse( s );
    4343    }
     
    4545    template< class Ch, class Tr, class Alloc>
    4646    basic_format<Ch, Tr, Alloc>:: basic_format(const string_type& s, const std::locale & loc)
    4747        : style_(0), cur_arg_(0), num_args_(0), dumped_(false),
    48           loc_(loc), exceptions_(io::all_error_bits)
     48          exceptions_(io::all_error_bits), loc_(loc)
    4949    {
    5050        parse(s); 
    5151    }