Fix windows compilation problem for slow_test (#3974)

This commit is contained in:
Dimitrios Siganos 2022-10-14 20:56:28 +01:00 committed by GitHub
commit f2ddac1be0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -215,7 +215,7 @@ TEST (vote_cache, perf_multithreaded)
// Ensure our generated votes go to inactive vote cache instead of active elections // Ensure our generated votes go to inactive vote cache instead of active elections
node.active.clear (); node.active.clear ();
run_parallel (thread_count, [&node, &reps, &blocks] (int index) { run_parallel (thread_count, [&node, &reps, &blocks, &vote_count, &single_vote_size, &single_vote_reps] (int index) {
int block_idx = index; int block_idx = index;
int rep_idx = index; int rep_idx = index;
std::vector<nano::block_hash> hashes; std::vector<nano::block_hash> hashes;