updated build system
This commit is contained in:
@ -115,7 +115,7 @@ inline auto generate_random_between(data_t begin, data_t end) -> data_t {
|
||||
}
|
||||
|
||||
std::random_device rd{};
|
||||
std::mt19937 gen(std::time(nullptr) ^ static_cast<unsigned>(rd()));
|
||||
std::mt19937 gen(static_cast<unsigned long>(std::time(nullptr) ^ rd()));
|
||||
std::uniform_int_distribution<data_t> dis(begin, end);
|
||||
return dis(gen);
|
||||
}
|
||||
|
Reference in New Issue
Block a user