Fix use of C-style cast.

This commit is contained in:
Joao Paulo Magalhaes 2017-03-02 12:10:43 +00:00
parent cbb2eb83d1
commit c846eedfeb

View File

@ -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();