Commit 7e313400 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

nghttpx: Receive reference of std::mt19937, not making a copy

parent cddb4114
......@@ -66,7 +66,7 @@ public:
void call_unblock_func();
private:
std::mt19937 gen_;
std::mt19937 &gen_;
// Called when blocking is started
std::function<void()> block_func_;
// Called when unblocked
......
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