forked from boostorg/intrusive
Fix unused variable warnings in tests
[SVN r82364]
This commit is contained in:
1 parent
96ea4a2d9b
commit
11bfbe66b2
12 files changed
+24
-25
No files matched your search
+2
-2
@@ -164,8 +164,8 @@ bool simple_slist_test()
|
||||
|
||||
//Now test lists
|
||||
{
|
||||
BaseList::iterator bit(baselist.begin()), bitend(baselist.end());
|
||||
MemberList::iterator mit(memberlist.begin()), mitend(memberlist.end());
|
||||
BaseList::iterator bit(baselist.begin());
|
||||
MemberList::iterator mit(memberlist.begin());
|
||||
VectRit rit(values.rbegin()), ritend(values.rend());
|
||||
VectIt it(values.begin()), itend(values.end());
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ void test_container( Container & c )
|
||||
for(i = 0; i < num_elem; ++i){
|
||||
++it;
|
||||
}
|
||||
BOOST_TEST( it == c.end() );
|
||||
BOOST_TEST( it == itend );
|
||||
BOOST_TEST( c.size() == i );
|
||||
}
|
||||
|
||||
@@ -69,7 +69,7 @@ void test_container( Container & c )
|
||||
for(i = 0; i < num_elem; ++i){
|
||||
++it;
|
||||
}
|
||||
BOOST_TEST( it == c.cend() );
|
||||
BOOST_TEST( it == itend );
|
||||
BOOST_TEST( c.size() == i );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user