Skip to content

Commit

Permalink
std::srand -> srand
Browse files Browse the repository at this point in the history
  • Loading branch information
SChernykh authored Jul 18, 2017
1 parent f5c2757 commit 752d1b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli-miner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
#include <stdio.h>
#include <string.h>

#include <ctime>
#include <time.h>

#ifndef CONF_NO_TLS
#include <openssl/ssl.h>
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 752d1b8

Please sign in to comment.