diff options
Diffstat (limited to 'benchmarks/Benchmark.cpp')
-rw-r--r-- | benchmarks/Benchmark.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmarks/Benchmark.cpp b/benchmarks/Benchmark.cpp index 0eb779a..eea304f 100644 --- a/benchmarks/Benchmark.cpp +++ b/benchmarks/Benchmark.cpp @@ -44,8 +44,8 @@ std::vector<Benchmark*>& Benchmark::List() { return list; } -size_t Benchmark::MaxNameColumnWidth() { - size_t max = 20; +int Benchmark::MaxNameColumnWidth() { + int max = 20; for (auto& benchmark : List()) { max = std::max(max, benchmark->NameColumnWidth()); } |