mirror of
https://github.com/boostorg/range.git
synced 2025-07-29 04:17:39 +02:00
[boost][range] - removed warnings found building with clang 3.2.
[SVN r85698]
This commit is contained in:
@ -43,7 +43,7 @@ namespace boost
|
||||
source.begin(), source.end()
|
||||
);
|
||||
|
||||
it == boost::copy(boost::make_iterator_range(source), target.begin());
|
||||
it = boost::copy(boost::make_iterator_range(source), target.begin());
|
||||
|
||||
BOOST_CHECK( it == target.end() );
|
||||
|
||||
|
@ -71,6 +71,8 @@ namespace boost_range_test_algorithm_stable_partition
|
||||
|
||||
result_t result2 = boost::stable_partition<return_type>(
|
||||
boost::make_iterator_range(cont2), policy.pred());
|
||||
|
||||
boost::ignore_unused_variable_warning(result2);
|
||||
|
||||
BOOST_CHECK_EQUAL_COLLECTIONS( cont2.begin(), cont2.end(),
|
||||
cont.begin(), cont.end() );
|
||||
|
@ -41,6 +41,8 @@ namespace boost
|
||||
|
||||
iterator_t reference_it
|
||||
= std::transform(cont.begin(), cont.end(), reference.begin(), fn);
|
||||
|
||||
boost::ignore_unused_variable_warning(reference_it);
|
||||
|
||||
iterator_t test_it
|
||||
= boost::transform(cont, target.begin(), fn);
|
||||
@ -101,6 +103,8 @@ namespace boost
|
||||
iterator_t reference_it
|
||||
= std::transform(cont1.begin(), cont1.end(),
|
||||
cont2.begin(), reference.begin(), fn);
|
||||
|
||||
boost::ignore_unused_variable_warning(reference_it);
|
||||
|
||||
iterator_t test_it
|
||||
= boost::transform(cont1, cont2, target.begin(), fn);
|
||||
|
Reference in New Issue
Block a user