mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
Use std::random_device
This commit is contained in:
parent
86e8c67efc
commit
c6a929986a
1 changed files with 1 additions and 0 deletions
|
@ -295,6 +295,7 @@ struct CurlDownloader : public Downloader
|
|||
std::thread workerThread;
|
||||
|
||||
CurlDownloader()
|
||||
: mt19937(rd())
|
||||
{
|
||||
static std::once_flag globalInit;
|
||||
std::call_once(globalInit, curl_global_init, CURL_GLOBAL_ALL);
|
||||
|
|
Loading…
Reference in a new issue