Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85697 - trunk/boost/range/adaptor
From: neil_at_[hidden]
Date: 2013-09-16 06:10:13


Author: neilgroves
Date: 2013-09-16 06:10:12 EDT (Mon, 16 Sep 2013)
New Revision: 85697
URL: http://svn.boost.org/trac/boost/changeset/85697

Log:
[boost][range] correct lifetime defect in the tokenized range adapter

Text files modified:
   trunk/boost/range/adaptor/tokenized.hpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/boost/range/adaptor/tokenized.hpp
==============================================================================
--- trunk/boost/range/adaptor/tokenized.hpp Mon Sep 16 01:50:50 2013 (r85696)
+++ trunk/boost/range/adaptor/tokenized.hpp 2013-09-16 06:10:12 EDT (Mon, 16 Sep 2013) (r85697)
@@ -52,9 +52,9 @@
         template< class T, class U, class V >
         struct regex_holder
         {
- const T& re;
- const U& sub;
- V f;
+ T re;
+ U sub;
+ V f;
 
             regex_holder( const T& rex, const U& subm, V flag ) :
                 re(rex), sub(subm), f(flag)


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