Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53219 - trunk/boost/format
From: steven_at_[hidden]
Date: 2009-05-23 15:26:10


Author: steven_watanabe
Date: 2009-05-23 15:26:10 EDT (Sat, 23 May 2009)
New Revision: 53219
URL: http://svn.boost.org/trac/boost/changeset/53219

Log:
Fix order of initialization warning. Fixes #1699
Text files modified:
   trunk/boost/format/format_implementation.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/format/format_implementation.hpp
==============================================================================
--- trunk/boost/format/format_implementation.hpp (original)
+++ trunk/boost/format/format_implementation.hpp 2009-05-23 15:26:10 EDT (Sat, 23 May 2009)
@@ -37,7 +37,7 @@
     template< class Ch, class Tr, class Alloc>
     basic_format<Ch, Tr, Alloc>:: basic_format(const Ch* s, const std::locale & loc)
         : style_(0), cur_arg_(0), num_args_(0), dumped_(false),
- loc_(loc), exceptions_(io::all_error_bits)
+ exceptions_(io::all_error_bits), loc_(loc)
     {
         if(s) parse( s );
     }
@@ -45,7 +45,7 @@
     template< class Ch, class Tr, class Alloc>
     basic_format<Ch, Tr, Alloc>:: basic_format(const string_type& s, const std::locale & loc)
         : style_(0), cur_arg_(0), num_args_(0), dumped_(false),
- loc_(loc), exceptions_(io::all_error_bits)
+ exceptions_(io::all_error_bits), loc_(loc)
     {
         parse(s);
     }


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk