random: don't hardcode mt19937

This commit is contained in:
Danny Robson 2018-05-03 21:22:05 +10:00
parent c51673e421
commit 1350ea93c7

View File

@ -29,7 +29,7 @@ namespace util::random {
inline auto& inline auto&
generator (void) generator (void)
{ {
static thread_local std::mt19937_64 gen { std::random_device {}() }; static thread_local std::default_random_engine gen { std::random_device {}() };
return gen; return gen;
} }