Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r67293 - trunk/boost/spirit/home/support/utree/detail
From: hartmut.kaiser_at_[hidden]
Date: 2010-12-17 21:36:36


Author: hkaiser
Date: 2010-12-17 21:36:35 EST (Fri, 17 Dec 2010)
New Revision: 67293
URL: http://svn.boost.org/trac/boost/changeset/67293

Log:
Spirit: more simplifications
Text files modified:
   trunk/boost/spirit/home/support/utree/detail/utree_detail2.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/spirit/home/support/utree/detail/utree_detail2.hpp
==============================================================================
--- trunk/boost/spirit/home/support/utree/detail/utree_detail2.hpp (original)
+++ trunk/boost/spirit/home/support/utree/detail/utree_detail2.hpp 2010-12-17 21:36:35 EST (Fri, 17 Dec 2010)
@@ -955,8 +955,8 @@
         ensure_list_type();
         if (!pos.node)
         {
- push_back(val);
- return begin();
+ l.push_back(val);
+ return utree::iterator(l.first, 0); // begin();
         }
         l.insert(val, pos);
         return utree::iterator(pos.node->prev, pos.node->prev->prev);


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