forked from boostorg/unordered
avoided spurious check of deleted copy ctor
This commit is contained in:
@@ -183,7 +183,7 @@ template <class Container> void test_stats()
|
|||||||
|
|
||||||
test::random_values<Container> l2(15000, test::sequential);
|
test::random_values<Container> l2(15000, test::sequential);
|
||||||
std::vector<value_type> v2(l2.begin(), l2.end());
|
std::vector<value_type> v2(l2.begin(), l2.end());
|
||||||
std::atomic<int> found = 0, not_found = 0;
|
std::atomic<int> found{0}, not_found{0};
|
||||||
thread_runner(v2, [&cc, &found, ¬_found](boost::span<value_type> sp) {
|
thread_runner(v2, [&cc, &found, ¬_found](boost::span<value_type> sp) {
|
||||||
for (auto const& x : sp) {
|
for (auto const& x : sp) {
|
||||||
if(cc.contains(test::get_key<Container>(x))) ++found;
|
if(cc.contains(test::get_key<Container>(x))) ++found;
|
||||||
|
Reference in New Issue
Block a user