mirror of
https://github.com/jwinterm/xmr-stak.git
synced 2026-10-21 06:18:34 +02:00
std::srand -> srand
This commit is contained in:
+2
-2
@@ -41,7 +41,7 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <ctime>
|
||||
#include <time.h>
|
||||
|
||||
#ifndef CONF_NO_TLS
|
||||
#include <openssl/ssl.h>
|
||||
@@ -76,7 +76,7 @@ int main(int argc, char *argv[])
|
||||
OpenSSL_add_all_digests();
|
||||
#endif
|
||||
|
||||
std::srand(std::time(0));
|
||||
srand(time(0));
|
||||
|
||||
const char* sFilename = "config.txt";
|
||||
bool benchmark_mode = false;
|
||||
|
||||
Reference in New Issue
Block a user