random: don't use default_random_engine by default

This commit is contained in:
Danny Robson 2019-02-09 14:57:22 +11:00
parent 4581f8ce00
commit 54ec225a5a

View File

@ -59,7 +59,7 @@ namespace cruft::random {
inline auto&
generator (void)
{
using generator_t = std::default_random_engine;
using generator_t = std::mt19937_64;
static thread_local generator_t gen = [] () {
std::array<int,state_size_v<generator_t> / 4> seed;