mirror of
https://forge.fsky.io/oneflux/omegafox.git
synced 2026-02-10 06:32:05 -08:00
Fix C++ default_random_engine seed not compiling in macOS
This commit is contained in:
parent
902af26de1
commit
3f9863211a
1 changed files with 1 additions and 2 deletions
|
|
@ -225,6 +225,5 @@ class HumanizeMouseTrajectory {
|
|||
return true;
|
||||
}
|
||||
|
||||
mutable std::default_random_engine randomEngine{
|
||||
static_cast<unsigned long>(std::time(nullptr))};
|
||||
mutable std::default_random_engine randomEngine{std::random_device{}()};
|
||||
};
|
||||
Loading…
Add table
Reference in a new issue