Boost logo

Boost-Commit :

From: eric_at_[hidden]
Date: 2007-10-02 02:48:02


Author: eric_niebler
Date: 2007-10-02 02:47:58 EDT (Tue, 02 Oct 2007)
New Revision: 39649
URL: http://svn.boost.org/trac/boost/changeset/39649

Log:
attempt to fix xpressive formatting bug on tru64
Text files modified:
   trunk/boost/xpressive/match_results.hpp | 5 ++++-
   1 files changed, 4 insertions(+), 1 deletions(-)

Modified: trunk/boost/xpressive/match_results.hpp
==============================================================================
--- trunk/boost/xpressive/match_results.hpp (original)
+++ trunk/boost/xpressive/match_results.hpp 2007-10-02 02:47:58 EDT (Tue, 02 Oct 2007)
@@ -134,7 +134,10 @@
 
     friend bool set_transform(case_converting_iterator &iter, transform_op trans, transform_scope scope)
     {
- (scope == Next ? iter.next_ : iter.rest_) = trans;
+ if(scope == Next)
+ iter.next_ = trans;
+ else
+ iter.rest_ = trans;
         return true;
     }
 


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