Don't reseed std::srand when resetting rng state

We no longer use `std::rand` anywhere, so there is no point,
and it might even interfere with our users use of `std::(s)rand`.
This commit is contained in:
Martin Hořeňovský 2022-05-17 11:54:12 +02:00
parent 5d7883b551
commit 6044f021cf
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A
1 changed files with 0 additions and 1 deletions

View File

@ -599,7 +599,6 @@ namespace Catch {
void seedRng(IConfig const& config) {
if (config.rngSeed() != 0) {
std::srand(config.rngSeed());
rng().seed(config.rngSeed());
}
}