Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53833 - trunk/boost/spirit/home/support/iterators/detail
From: hartmut.kaiser_at_[hidden]
Date: 2009-06-12 15:49:47


Author: hkaiser
Date: 2009-06-12 15:49:46 EDT (Fri, 12 Jun 2009)
New Revision: 53833
URL: http://svn.boost.org/trac/boost/changeset/53833

Log:
Spirit: minor tweaks to multi_pass
Text files modified:
   trunk/boost/spirit/home/support/iterators/detail/split_std_deque_policy.hpp | 4 ++--
   1 files changed, 2 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 2009-06-12 15:49:46 EDT (Fri, 12 Jun 2009)
@@ -65,13 +65,13 @@
                     }
                     else if (!MultiPass::input_is_valid(mp, queue[mp.queued_position]))
                     {
- MultiPass::advance_input(mp, queue[mp.queued_position]);
+ return MultiPass::advance_input(mp, queue[mp.queued_position++]);
                     }
                     return queue[mp.queued_position++];
                 }
                 else if (!MultiPass::input_is_valid(mp, queue[mp.queued_position-1]))
                 {
- MultiPass::advance_input(mp, queue[mp.queued_position-1]);
+ return MultiPass::advance_input(mp, queue[mp.queued_position-1]);
                 }
                 return queue[mp.queued_position-1];
             }


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