Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r57672 - trunk/boost/format
From: Samuel.Krempp_at_[hidden]
Date: 2009-11-15 03:08:32


Author: samuel_krempp
Date: 2009-11-15 03:08:32 EST (Sun, 15 Nov 2009)
New Revision: 57672
URL: http://svn.boost.org/trac/boost/changeset/57672

Log:
copy-constructor now copies .dumped_ , fixing Ticket #3610
Text files modified:
   trunk/boost/format/format_implementation.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/format/format_implementation.hpp
==============================================================================
--- trunk/boost/format/format_implementation.hpp (original)
+++ trunk/boost/format/format_implementation.hpp 2009-11-15 03:08:32 EST (Sun, 15 Nov 2009)
@@ -67,7 +67,7 @@
     template< class Ch, class Tr, class Alloc> // just don't copy the buf_ member
     basic_format<Ch, Tr, Alloc>:: basic_format(const basic_format& x)
         : items_(x.items_), bound_(x.bound_), style_(x.style_),
- cur_arg_(x.cur_arg_), num_args_(x.num_args_), dumped_(false),
+ cur_arg_(x.cur_arg_), num_args_(x.num_args_), dumped_(x.dumped_),
           prefix_(x.prefix_), exceptions_(x.exceptions_), loc_(x.loc_)
     {
     }


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