Commit 9b0ccdef authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

h2load: Code cleanup

parent 41dd5f68
...@@ -780,7 +780,7 @@ namespace { ...@@ -780,7 +780,7 @@ namespace {
// percentage of number of samples within mean +/- sd are computed. // percentage of number of samples within mean +/- sd are computed.
template <typename Duration> template <typename Duration>
TimeStat<Duration> compute_time_stat(const std::vector<Duration> &samples) { TimeStat<Duration> compute_time_stat(const std::vector<Duration> &samples) {
if (samples.size() == 0) { if (samples.empty()) {
return {Duration::zero(), Duration::zero(), Duration::zero(), return {Duration::zero(), Duration::zero(), Duration::zero(),
Duration::zero(), 0.0}; Duration::zero(), 0.0};
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment