diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2016-10-05T19·29+0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2016-10-05T19·29+0200 |
commit | c6a929986aa25860cd93da9b7ab4488144934ead (patch) | |
tree | 5af86d9c9396d97f345f66dc4041ac72efc94dec /src/libstore/download.cc | |
parent | 86e8c67efc33cf756500a1dec7fd6313658f2664 (diff) |
Use std::random_device
Diffstat (limited to 'src/libstore/download.cc')
-rw-r--r-- | src/libstore/download.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/download.cc b/src/libstore/download.cc index 1cb7d4854a98..b228cd0b4b37 100644 --- a/src/libstore/download.cc +++ b/src/libstore/download.cc @@ -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); |