mirror of
https://github.com/boostorg/unordered.git
synced 2025-10-20 03:15:27 +02:00
Fix exception handling in rehash_impl
And improve tests so they will catch the error, and other similar errors.
This commit is contained in:
@@ -43,6 +43,9 @@ template <class T> struct erase_by_key_test1 : public erase_test_base<T>
|
||||
it != end; ++it) {
|
||||
x.erase(test::get_key<T>(*it));
|
||||
}
|
||||
|
||||
BOOST_TEST(x.empty());
|
||||
test::check_equivalent_keys(x);
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user