Fix indentation.

[ci-skip]
This commit is contained in:
Joao Paulo Magalhaes 2017-05-02 11:37:46 +01:00
parent 77b9362b06
commit eb2bf34524

View file

@ -132,10 +132,9 @@ void ConsoleReporter::PrintRunData(const Run& result) {
} }
for (auto& c : result.counters) { for (auto& c : result.counters) {
std::string s = HumanReadableNumber(c.second.value); std::string s = HumanReadableNumber(c.second.value);
const char* unit = ((c.second.flags & Counter::Flags::kIsRate) ? const char* unit = ((c.second.flags & Counter::kIsRate) ? "/s" : "");
"/s" : ""); printer(Out, COLOR_DEFAULT, " %s=%s%s", c.first.c_str(), s.c_str(), unit);
printer(Out, COLOR_DEFAULT, " %s=%s%s", c.first.c_str(), s.c_str(), unit);
} }
if (!rate.empty()) { if (!rate.empty()) {