mirror of
https://github.com/google/benchmark.git
synced 2025-01-30 22:00:16 +08:00
Fix use of C-style cast.
This commit is contained in:
parent
cbb2eb83d1
commit
c846eedfeb
@ -564,7 +564,8 @@ size_t RunSpecifiedBenchmarks(BenchmarkReporter* console_reporter,
|
||||
output_opts &= ~ConsoleReporter::OO_Tabular;
|
||||
}
|
||||
default_console_reporter = internal::CreateReporter(
|
||||
FLAGS_benchmark_format, (ConsoleReporter::OutputOptions)output_opts);
|
||||
FLAGS_benchmark_format,
|
||||
static_cast< ConsoleReporter::OutputOptions >(output_opts));
|
||||
console_reporter = default_console_reporter.get();
|
||||
}
|
||||
auto& Out = console_reporter->GetOutputStream();
|
||||
|
Loading…
Reference in New Issue
Block a user