avoided spurious check of deleted copy ctor

This commit is contained in:
joaquintides
2024-05-02 11:15:29 +02:00
parent d5605671bd
commit 6212f2642c

View File

@ -183,7 +183,7 @@ template <class Container> void test_stats()
test::random_values<Container> l2(15000, test::sequential);
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, &not_found](boost::span<value_type> sp) {
for (auto const& x : sp) {
if(cc.contains(test::get_key<Container>(x))) ++found;