forked from boostorg/unordered
Fix more warnings
This commit is contained in:
@@ -143,9 +143,13 @@ bool compare(Range1 const& x, Range2 const& y)
|
||||
template <class Container>
|
||||
bool general_erase_range_test(Container& x, std::size_t start, std::size_t end)
|
||||
{
|
||||
typedef BOOST_DEDUCED_TYPENAME Container::difference_type difference_type;
|
||||
difference_type start2 = start, end2 = end;
|
||||
|
||||
collide_list l(x.begin(), x.end());
|
||||
l.erase(boost::next(l.begin(), start), boost::next(l.begin(), end));
|
||||
x.erase(boost::next(x.begin(), start), boost::next(x.begin(), end));
|
||||
|
||||
l.erase(boost::next(l.begin(), start2), boost::next(l.begin(), end2));
|
||||
x.erase(boost::next(x.begin(), start2), boost::next(x.begin(), end2));
|
||||
|
||||
test::check_equivalent_keys(x);
|
||||
return compare(l, x);
|
||||
|
||||
Reference in New Issue
Block a user