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.
2 parents a88fa1a + e49d50c commit f8b20fdCopy full SHA for f8b20fd
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