mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-22 19:33:29 +01:00
Reseed global rng instance unconditionally
This commit is contained in:
parent
6044f021cf
commit
9c72b303d9
@ -598,9 +598,7 @@ namespace Catch {
|
||||
}
|
||||
|
||||
void seedRng(IConfig const& config) {
|
||||
if (config.rngSeed() != 0) {
|
||||
rng().seed(config.rngSeed());
|
||||
}
|
||||
rng().seed(config.rngSeed());
|
||||
}
|
||||
|
||||
unsigned int rngSeed() {
|
||||
|
Loading…
Reference in New Issue
Block a user