Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52767 - trunk/boost/spirit/home/karma/detail
From: hartmut.kaiser_at_[hidden]
Date: 2009-05-05 08:57:17


Author: hkaiser
Date: 2009-05-05 08:57:16 EDT (Tue, 05 May 2009)
New Revision: 52767
URL: http://svn.boost.org/trac/boost/changeset/52767

Log:
Spirit: fixed member initialization sequence
Text files modified:
   trunk/boost/spirit/home/karma/detail/output_iterator.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/spirit/home/karma/detail/output_iterator.hpp
==============================================================================
--- trunk/boost/spirit/home/karma/detail/output_iterator.hpp (original)
+++ trunk/boost/spirit/home/karma/detail/output_iterator.hpp 2009-05-05 08:57:16 EDT (Tue, 05 May 2009)
@@ -64,7 +64,7 @@
     public:
         counting_sink(OutputIterator& sink_, std::size_t count_ = 0
               , bool enabled = true)
- : sink(sink_), count(count_)
+ : count(count_), prev_count(0), sink(sink_)
         {
             prev_count = sink.chain_counting(enabled ? this : NULL);
         }


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