From 6c69d675da3494f179680a582f575a7364c812d7 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Fri, 17 Mar 2017 22:24:32 +0900 Subject: [PATCH] nghttpx: Should take reference --- src/shrpx_connection_handler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shrpx_connection_handler.h b/src/shrpx_connection_handler.h index dab41802..de8d849b 100644 --- a/src/shrpx_connection_handler.h +++ b/src/shrpx_connection_handler.h @@ -184,7 +184,7 @@ private: // and signature algorithm presented by client. std::vector> indexed_ssl_ctx_; OCSPUpdateContext ocsp_; - std::mt19937 gen_; + std::mt19937 &gen_; // ev_loop for each worker std::vector worker_loops_; // Worker instances when multi threaded mode (-nN, N >= 2) is used.