Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r58707 - trunk/boost/spirit/home/support/iterators/detail
From: hartmut.kaiser_at_[hidden]
Date: 2010-01-05 11:03:16


Author: hkaiser
Date: 2010-01-05 11:03:15 EST (Tue, 05 Jan 2010)
New Revision: 58707
URL: http://svn.boost.org/trac/boost/changeset/58707

Log:
Spirit: fix for one of the multi_pass policies
Text files modified:
   trunk/boost/spirit/home/support/iterators/detail/split_std_deque_policy.hpp | 3 +--
   1 files changed, 1 insertions(+), 2 deletions(-)

Modified: trunk/boost/spirit/home/support/iterators/detail/split_std_deque_policy.hpp
==============================================================================
--- trunk/boost/spirit/home/support/iterators/detail/split_std_deque_policy.hpp (original)
+++ trunk/boost/spirit/home/support/iterators/detail/split_std_deque_policy.hpp 2010-01-05 11:03:15 EST (Tue, 05 Jan 2010)
@@ -117,8 +117,7 @@
             static void clear_queue(MultiPass& mp)
             {
                 mp.shared()->queued_elements.clear();
- mp.shared()->queued_elements.push_back(Value(0));
- mp.queued_position = 1;
+ mp.queued_position = 0;
             }
 
             // called to determine whether the iterator is an eof iterator


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