Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62081 - trunk/boost/spirit/home/qi/string/detail
From: joel_at_[hidden]
Date: 2010-05-18 07:09:56


Author: djowel
Date: 2010-05-18 07:09:56 EDT (Tue, 18 May 2010)
New Revision: 62081
URL: http://svn.boost.org/trac/boost/changeset/62081

Log:
#4204 patch (tst remove, may remove others nodes too)
Text files modified:
   trunk/boost/spirit/home/qi/string/detail/tst.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/spirit/home/qi/string/detail/tst.hpp
==============================================================================
--- trunk/boost/spirit/home/qi/string/detail/tst.hpp (original)
+++ trunk/boost/spirit/home/qi/string/detail/tst.hpp 2010-05-18 07:09:56 EDT (Tue, 18 May 2010)
@@ -180,7 +180,7 @@
                 remove(p->gt, first, last, alloc);
             }
 
- if (p->lt == 0 && p->eq == 0 && p->gt == 0)
+ if (p->data == 0 && p->lt == 0 && p->eq == 0 && p->gt == 0)
             {
                 alloc->delete_node(p);
                 p = 0;


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