1
0
mirror of https://github.com/google/benchmark.git synced 2025-02-18 23:30:15 +08:00

Tabular counters: fix missing cast on MSVC.

This commit is contained in:
Joao Paulo Magalhaes 2017-03-02 12:19:56 +00:00
parent c846eedfeb
commit d84d911d37

View File

@ -45,7 +45,7 @@ bool ConsoleReporter::ReportContext(const Context& context) {
GetErrorStream()
<< "Color printing is only supported for stdout on windows."
" Disabling color printing\n";
output_options_ &= ~OO_Color;
output_options_ = static_cast< OutputOptions >(output_options_ & ~OO_Color);
}
#endif