mirror of
https://github.com/boostorg/intrusive.git
synced 2025-08-02 22:14:35 +02:00
Fixes for 1.41
[SVN r56957]
This commit is contained in:
@@ -399,10 +399,12 @@ void test_generic_assoc<ValueTraits, ContainerDefiner>::test_insert_before
|
||||
{
|
||||
assoc_type testset;
|
||||
typedef typename std::vector<value_type>::iterator vec_iterator;
|
||||
for(vec_iterator it(--values.end()), itend(--values.begin())
|
||||
; it != itend
|
||||
; --it){
|
||||
|
||||
for(vec_iterator it(--values.end()); true; --it){
|
||||
testset.push_front(*it);
|
||||
if(it == values.begin()){
|
||||
break;
|
||||
}
|
||||
}
|
||||
BOOST_TEST(testset.size() == values.size());
|
||||
TEST_INTRUSIVE_SEQUENCE_EXPECTED(values, testset.begin());
|
||||
|
Reference in New Issue
Block a user