mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 13:26:10 +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