From aaff9a5f494ab4334c82cb3d343d11bfa1ca7ac8 Mon Sep 17 00:00:00 2001 From: Peter Thorson Date: Sun, 3 Mar 2013 17:34:03 -0600 Subject: [PATCH] makes none the default RNG to avoid requiring random_device in server configs --- websocketpp/config/core.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/websocketpp/config/core.hpp b/websocketpp/config/core.hpp index bcbc1d2440..d8c730ee55 100644 --- a/websocketpp/config/core.hpp +++ b/websocketpp/config/core.hpp @@ -49,7 +49,7 @@ #include // RNG -#include +#include // Extensions #include @@ -80,8 +80,7 @@ struct core { websocketpp::log::alevel> alog_type; /// RNG policies - typedef websocketpp::random::random_device - rng_type; + typedef websocketpp::random::none::int_generator rng_type; struct transport_config { typedef core::concurrency_type concurrency_type;