From 91f062f8738b2154605c2df00cf9b04b8b522455 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Wed, 20 Sep 2017 22:08:08 +0900 Subject: [PATCH] src: Fix compile error --- src/h2load.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/h2load.cc b/src/h2load.cc index 5ebb3ab8..74708d2e 100644 --- a/src/h2load.cc +++ b/src/h2load.cc @@ -1374,7 +1374,7 @@ void sample(Sampling &smp, Stats &stats, Stat *s) { stats.push_back(*s); return; } - auto d = std::uniform_int_distribution<>(0, smp.n - 1); + auto d = std::uniform_int_distribution(0, smp.n - 1); auto i = d(gen); if (i < smp.max_samples) { stats[i] = *s;