nghttpx: Should take reference

This commit is contained in:
Tatsuhiro Tsujikawa 2017-03-17 22:24:32 +09:00
parent feabd6f739
commit 6c69d675da
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ private:
// and signature algorithm presented by client.
std::vector<std::vector<SSL_CTX *>> indexed_ssl_ctx_;
OCSPUpdateContext ocsp_;
std::mt19937 gen_;
std::mt19937 &gen_;
// ev_loop for each worker
std::vector<struct ev_loop *> worker_loops_;
// Worker instances when multi threaded mode (-nN, N >= 2) is used.