2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-19 04:22:09 +00:00

More C-Style Cast Removal (#746)

This commit is contained in:
Matt Borland
2022-01-22 10:36:50 +02:00
committed by GitHub
parent 50008bb6ba
commit 358b302f10
6 changed files with 14 additions and 14 deletions

View File

@@ -38,7 +38,7 @@ void test_mode_2param(benchmark::State& state)
static void fixed_ratio_2args(benchmark::internal::Benchmark* b, long double left_div_right, std::vector<int64_t> lefts) {
for (const long double &left: lefts) {
b->Args({(int64_t)left, (int64_t)(left/left_div_right)});
b->Args({static_cast<int64_t>(left), static_cast<int64_t>((left/left_div_right))});
}
}