From c6a929986aa25860cd93da9b7ab4488144934ead Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 5 Oct 2016 21:29:18 +0200 Subject: Use std::random_device --- src/libstore/download.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libstore') 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); -- cgit 1.4.1