h2load: Code cleanup

This commit is contained in:
Tatsuhiro Tsujikawa 2015-06-10 00:28:27 +09:00
parent 41dd5f6897
commit 9b0ccdef34
1 changed files with 1 additions and 1 deletions

View File

@ -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};
} }