h2load: Code cleanup
This commit is contained in:
parent
41dd5f6897
commit
9b0ccdef34
|
@ -780,7 +780,7 @@ namespace {
|
|||
// percentage of number of samples within mean +/- sd are computed.
|
||||
template <typename Duration>
|
||||
TimeStat<Duration> compute_time_stat(const std::vector<Duration> &samples) {
|
||||
if (samples.size() == 0) {
|
||||
if (samples.empty()) {
|
||||
return {Duration::zero(), Duration::zero(), Duration::zero(),
|
||||
Duration::zero(), 0.0};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue