Commit c846eedf by Joao Paulo Magalhaes

Fix use of C-style cast.

parent cbb2eb83
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment