We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a88fa1a commit e49d50cCopy full SHA for e49d50c
src/bench/peer_eviction.cpp
@@ -27,7 +27,8 @@ static void EvictionProtectionCommon(
27
candidate_setup_fn(c);
28
}
29
30
- std::vector<Candidates> copies{bench.epochs() * bench.epochIterations(), candidates};
+ std::vector<Candidates> copies{
31
+ static_cast<size_t>(bench.epochs() * bench.epochIterations()), candidates};
32
size_t i{0};
33
bench.run([&] {
34
ProtectEvictionCandidatesByRatio(copies.at(i));
0 commit comments