mirror of
https://github.com/boostorg/unordered.git
synced 2025-05-11 13:34:06 +00:00
updated more tests affected by change in position of f
This commit is contained in:
parent
c54151769f
commit
81a47ca88d
@ -55,11 +55,11 @@ namespace {
|
||||
thread_runner(values, [&x, &num_inserts, &num_invokes](boost::span<T> s) {
|
||||
for (auto& r : s) {
|
||||
bool b = x.emplace_or_cvisit(
|
||||
r.first.x_, r.second.x_,
|
||||
[&num_invokes](typename X::value_type const& v) {
|
||||
(void)v;
|
||||
++num_invokes;
|
||||
},
|
||||
r.first.x_, r.second.x_);
|
||||
});
|
||||
|
||||
if (b) {
|
||||
++num_inserts;
|
||||
|
@ -144,12 +144,11 @@ namespace {
|
||||
thread_runner(values, [&x, &num_inserts, &num_invokes](boost::span<T> s) {
|
||||
for (auto& r : s) {
|
||||
bool b = x.try_emplace_or_cvisit(
|
||||
r.first,
|
||||
r.first, r.second.x_,
|
||||
[&num_invokes](typename X::value_type const& v) {
|
||||
(void)v;
|
||||
++num_invokes;
|
||||
},
|
||||
r.second.x_);
|
||||
});
|
||||
|
||||
if (b) {
|
||||
++num_inserts;
|
||||
@ -211,12 +210,11 @@ namespace {
|
||||
thread_runner(values, [&x, &num_inserts, &num_invokes](boost::span<T> s) {
|
||||
for (auto& r : s) {
|
||||
bool b = x.try_emplace_or_cvisit(
|
||||
std::move(r.first),
|
||||
std::move(r.first), r.second.x_,
|
||||
[&num_invokes](typename X::value_type const& v) {
|
||||
(void)v;
|
||||
++num_invokes;
|
||||
},
|
||||
r.second.x_);
|
||||
});
|
||||
|
||||
if (b) {
|
||||
++num_inserts;
|
||||
@ -283,12 +281,11 @@ namespace {
|
||||
thread_runner(values, [&x, &num_inserts, &num_invokes](boost::span<T> s) {
|
||||
for (auto& r : s) {
|
||||
bool b = x.try_emplace_or_cvisit(
|
||||
r.first.x_,
|
||||
r.first.x_, r.second.x_,
|
||||
[&num_invokes](typename X::value_type const& v) {
|
||||
(void)v;
|
||||
++num_invokes;
|
||||
},
|
||||
r.second.x_);
|
||||
});
|
||||
|
||||
if (b) {
|
||||
++num_inserts;
|
||||
|
Loading…
x
Reference in New Issue
Block a user