mirror of
https://github.com/google/benchmark.git
synced 2025-01-14 05:40:14 +08:00
Fix header lines length (#752)
Commit 17a012d7
added a newline to the str, so the line built from
str.length() is one character longer than it should be.
This commit is contained in:
parent
eec9a8e497
commit
4b9f43e2c4
1
AUTHORS
1
AUTHORS
@ -9,6 +9,7 @@
|
|||||||
# Please keep the list sorted.
|
# Please keep the list sorted.
|
||||||
|
|
||||||
Albert Pretorius <pretoalb@gmail.com>
|
Albert Pretorius <pretoalb@gmail.com>
|
||||||
|
Andriy Berestovskyy <berestovskyy@gmail.com>
|
||||||
Arne Beer <arne@twobeer.de>
|
Arne Beer <arne@twobeer.de>
|
||||||
Carto
|
Carto
|
||||||
Christopher Seymour <chris.j.seymour@hotmail.com>
|
Christopher Seymour <chris.j.seymour@hotmail.com>
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
# Please keep the list sorted.
|
# Please keep the list sorted.
|
||||||
|
|
||||||
Albert Pretorius <pretoalb@gmail.com>
|
Albert Pretorius <pretoalb@gmail.com>
|
||||||
|
Andriy Berestovskyy <berestovskyy@gmail.com>
|
||||||
Arne Beer <arne@twobeer.de>
|
Arne Beer <arne@twobeer.de>
|
||||||
Billy Robert O'Neal III <billy.oneal@gmail.com> <bion@microsoft.com>
|
Billy Robert O'Neal III <billy.oneal@gmail.com> <bion@microsoft.com>
|
||||||
Chris Kennelly <ckennelly@google.com> <ckennelly@ckennelly.com>
|
Chris Kennelly <ckennelly@google.com> <ckennelly@ckennelly.com>
|
||||||
|
@ -64,9 +64,8 @@ void ConsoleReporter::PrintHeader(const Run& run) {
|
|||||||
str += " UserCounters...";
|
str += " UserCounters...";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
str += "\n";
|
|
||||||
std::string line = std::string(str.length(), '-');
|
std::string line = std::string(str.length(), '-');
|
||||||
GetOutputStream() << line << "\n" << str << line << "\n";
|
GetOutputStream() << line << "\n" << str << "\n" << line << "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
void ConsoleReporter::ReportRuns(const std::vector<Run>& reports) {
|
void ConsoleReporter::ReportRuns(const std::vector<Run>& reports) {
|
||||||
|
Loading…
Reference in New Issue
Block a user