mirror of
https://github.com/boostorg/range.git
synced 2025-07-30 04:47:25 +02:00
fix lifetime issue with test case for ticket 6715.
This commit is contained in:
@ -30,8 +30,9 @@ namespace boost
|
|||||||
|
|
||||||
void test_ticket_6715_iterator_range_equality()
|
void test_ticket_6715_iterator_range_equality()
|
||||||
{
|
{
|
||||||
str_ref a("test");
|
std::string src("test");
|
||||||
str_ref b("test");
|
str_ref a(src);
|
||||||
|
str_ref b(src);
|
||||||
BOOST_CHECK(a == b);
|
BOOST_CHECK(a == b);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user