mirror of
https://github.com/boostorg/intrusive.git
synced 2025-08-03 06:24:44 +02:00
Removed unused variables warnings.
This commit is contained in:
@@ -158,7 +158,6 @@ void test_list< List_Type, Value_Container >
|
|||||||
list_type list(values.begin(), values.end());
|
list_type list(values.begin(), values.end());
|
||||||
list.remove_and_dispose_if(is_odd(), test::empty_disposer());
|
list.remove_and_dispose_if(is_odd(), test::empty_disposer());
|
||||||
int init_values [] = { 2, 4 };
|
int init_values [] = { 2, 4 };
|
||||||
typename list_type::iterator i = list.begin(), e = list.end();
|
|
||||||
TEST_INTRUSIVE_SEQUENCE( init_values, list.begin() );
|
TEST_INTRUSIVE_SEQUENCE( init_values, list.begin() );
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
@@ -169,14 +169,12 @@ void test_slist< List_Type, Value_Container >
|
|||||||
list_type list(values.begin(), values.end());
|
list_type list(values.begin(), values.end());
|
||||||
list.remove_and_dispose_if(is_even(), test::empty_disposer());
|
list.remove_and_dispose_if(is_even(), test::empty_disposer());
|
||||||
int init_values [] = { 1, 3, 5 };
|
int init_values [] = { 1, 3, 5 };
|
||||||
typename list_type::iterator i = list.begin(), e = list.end();
|
|
||||||
TEST_INTRUSIVE_SEQUENCE( init_values, list.begin() );
|
TEST_INTRUSIVE_SEQUENCE( init_values, list.begin() );
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
list_type list(values.begin(), values.end());
|
list_type list(values.begin(), values.end());
|
||||||
list.remove_and_dispose_if(is_odd(), test::empty_disposer());
|
list.remove_and_dispose_if(is_odd(), test::empty_disposer());
|
||||||
int init_values [] = { 2, 4 };
|
int init_values [] = { 2, 4 };
|
||||||
typename list_type::iterator i = list.begin(), e = list.end();
|
|
||||||
TEST_INTRUSIVE_SEQUENCE( init_values, list.begin() );
|
TEST_INTRUSIVE_SEQUENCE( init_values, list.begin() );
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user