makes none the default RNG to avoid requiring random_device in server configs

This commit is contained in:
Peter Thorson
2013-03-03 17:34:03 -06:00
parent 14b2012328
commit aaff9a5f49

View File

@@ -49,7 +49,7 @@
#include <websocketpp/logger/basic.hpp>
// RNG
#include <websocketpp/random/random_device.hpp>
#include <websocketpp/random/none.hpp>
// Extensions
#include <websocketpp/extensions/permessage_compress/disabled.hpp>
@@ -80,8 +80,7 @@ struct core {
websocketpp::log::alevel> alog_type;
/// RNG policies
typedef websocketpp::random::random_device<uint32_t,concurrency_type>
rng_type;
typedef websocketpp::random::none::int_generator<uint32_t> rng_type;
struct transport_config {
typedef core::concurrency_type concurrency_type;