Skip to content

Commit 140abce

Browse files
Update cpp/benchmarks/threadpool/threadpool_benchmark.cpp
Co-authored-by: Mads R. B. Kristensen <[email protected]>
1 parent ca3a882 commit 140abce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/benchmarks/threadpool/threadpool_benchmark.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ void BM_threadpool_compute(benchmark::State& state)
5959
// Submit a total of "num_compute_tasks" tasks to the thread pool.
6060
for (auto i = std::size_t{0}; i < num_compute_tasks; ++i) {
6161
[[maybe_unused]] auto fut = kvikio::defaults::thread_pool().submit_task(
62-
[num_compute_iterations = num_compute_iterations] {
62+
[num_compute_iterations] {
6363
task_compute(num_compute_iterations);
6464
});
6565
}

0 commit comments

Comments
 (0)