From a8084dcb1259fa274257b8ad946b571bb4a5f1c5 Mon Sep 17 00:00:00 2001 From: Neil Groves Date: Mon, 16 Sep 2013 10:10:12 +0000 Subject: [PATCH] [boost][range] correct lifetime defect in the tokenized range adapter [SVN r85697] --- include/boost/range/adaptor/tokenized.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) mode change 100755 => 100644 include/boost/range/adaptor/tokenized.hpp diff --git a/include/boost/range/adaptor/tokenized.hpp b/include/boost/range/adaptor/tokenized.hpp old mode 100755 new mode 100644 index 8a7402a..f0aa12e --- a/include/boost/range/adaptor/tokenized.hpp +++ b/include/boost/range/adaptor/tokenized.hpp @@ -52,9 +52,9 @@ namespace boost 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)