mirror of
https://github.com/boostorg/range.git
synced 2026-04-28 18:13:32 +02:00
[boost][range] correct lifetime defect in the tokenized range adapter
[SVN r85697]
This commit is contained in:
Executable → Regular
+3
-3
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user