mirror of
https://forge.fsky.io/oneflux/omegafox.git
synced 2026-02-10 09:52: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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
mutable std::default_random_engine randomEngine{
|
mutable std::default_random_engine randomEngine{std::random_device{}()};
|
||||||
static_cast<unsigned long>(std::time(nullptr))};
|
|
||||||
};
|
};
|
||||||
Loading…
Add table
Reference in a new issue