random: don't hardcode mt19937
This commit is contained in:
parent
c51673e421
commit
1350ea93c7
@ -29,7 +29,7 @@ namespace util::random {
|
||||
inline auto&
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user