aboutsummaryrefslogtreecommitdiff
path: root/src/bench
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2023-03-21 13:04:01 +0000
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2023-03-21 13:04:01 +0000
commit04831fee6dca3eb86cd1d6b9ef879b296263fe35 (patch)
tree546cd9925aada5ac2f984ba52af68e80184a9d62 /src/bench
parent6c2d5972f3544c4f3e987828a99e88f27b62cf87 (diff)
refactor: Make move semantics explicit for callers
Diffstat (limited to 'src/bench')
-rw-r--r--src/bench/checkqueue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bench/checkqueue.cpp b/src/bench/checkqueue.cpp
index dfd7275f46..41a4a216bf 100644
--- a/src/bench/checkqueue.cpp
+++ b/src/bench/checkqueue.cpp
@@ -60,7 +60,7 @@ static void CCheckQueueSpeedPrevectorJob(benchmark::Bench& bench)
// Make insecure_rand here so that each iteration is identical.
CCheckQueueControl<PrevectorJob> control(&queue);
for (auto vChecks : vBatches) {
- control.Add(vChecks);
+ control.Add(std::move(vChecks));
}
// control waits for completion by RAII, but
// it is done explicitly here for clarity