Fix dropped-style elses.
diff --git a/src/console_reporter.cc b/src/console_reporter.cc
index 61eff2c..7c3b7d8 100644
--- a/src/console_reporter.cc
+++ b/src/console_reporter.cc
@@ -60,8 +60,7 @@
for(auto const& c : run.counters) {
str += FormatString(" %10s", c.first.c_str());
}
- }
- else {
+ } else {
str += " UserCounters...";
}
}
@@ -153,8 +152,7 @@
if (output_options_ & OO_Tabular) {
if (c.second.flags & Counter::kIsRate) {
printer(Out, COLOR_DEFAULT, " %8s/s", s.c_str());
- }
- else {
+ } else {
printer(Out, COLOR_DEFAULT, " %10s", s.c_str());
}
} else {
diff --git a/src/csv_reporter.cc b/src/csv_reporter.cc
index 5ceb016..b8072fd 100644
--- a/src/csv_reporter.cc
+++ b/src/csv_reporter.cc
@@ -139,8 +139,7 @@
auto it = run.counters.find(ucn);
if(it == run.counters.end()) {
Out << ",";
- }
- else {
+ } else {
Out << "," << it->second;
}
}
diff --git a/test/output_test_helper.cc b/test/output_test_helper.cc
index b6ae955..b67140b 100644
--- a/test/output_test_helper.cc
+++ b/test/output_test_helper.cc
@@ -237,8 +237,7 @@
if(!p.regex->Match(r.name)) {
VLOG(2) << p.regex_str << " is not matched by " << r.name << "\n";
continue;
- }
- else {
+ } else {
VLOG(2) << p.regex_str << " is matched by " << r.name << "\n";
}
VLOG(1) << "Checking results of " << r.name << ": ... \n";