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:
@@ -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))});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user