diff options
author | Joao Paulo Magalhaes <dev@jpmag.me> | 2017-05-02 11:37:46 +0100 |
---|---|---|
committer | Joao Paulo Magalhaes <dev@jpmag.me> | 2017-05-02 11:37:46 +0100 |
commit | eb2bf345244eff2ceaa129e32ad112254e7603e2 (patch) | |
tree | cd0d77ae11222563399859a2a7e031f50f93508a /src/console_reporter.cc | |
parent | 77b9362b06d7fdef3937a28d56eb6ea24b3d9696 (diff) | |
download | google-benchmark-eb2bf345244eff2ceaa129e32ad112254e7603e2.tar.gz |
Fix indentation.
[ci-skip]
Diffstat (limited to 'src/console_reporter.cc')
-rw-r--r-- | src/console_reporter.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/console_reporter.cc b/src/console_reporter.cc index 7513acf..e812180 100644 --- a/src/console_reporter.cc +++ b/src/console_reporter.cc @@ -132,10 +132,9 @@ void ConsoleReporter::PrintRunData(const Run& result) { } for (auto& c : result.counters) { - std::string s = HumanReadableNumber(c.second.value); - const char* unit = ((c.second.flags & Counter::Flags::kIsRate) ? - "/s" : ""); - printer(Out, COLOR_DEFAULT, " %s=%s%s", c.first.c_str(), s.c_str(), unit); + std::string s = HumanReadableNumber(c.second.value); + const char* unit = ((c.second.flags & Counter::kIsRate) ? "/s" : ""); + printer(Out, COLOR_DEFAULT, " %s=%s%s", c.first.c_str(), s.c_str(), unit); } if (!rate.empty()) { |