1
0
Fork 0

more robust random seeding

This commit is contained in:
Kaveh Vahedipour 2017-05-19 15:29:15 +02:00
parent 21546d04e6
commit e67c26bee4
1 changed files with 0 additions and 1 deletions

View File

@ -55,7 +55,6 @@ unsigned long RandomDevice::seed() {
std::this_thread::yield();
std::this_thread::sleep_for(std::chrono::microseconds(1));
}
auto now = duration_cast<std::chrono::microseconds>(
std::chrono::high_resolution_clock::now().time_since_epoch()).count();