Browse Source
The random_device fails if not enough entropy is available. We do not need high-quality entropy here, though, so let's switch to a seed based on the current time in nanoseconds, XORed with the PID.debian/1.8.y

1 changed files with 3 additions and 2 deletions
Loading…
Reference in new issue