Provide random-device option for --rng-seed and make it default

This commit is contained in:
Martin Hořeňovský
2021-10-08 21:35:45 +02:00
parent 200a487cf2
commit ed1f343a41
7 changed files with 24 additions and 17 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ namespace Catch {
ShowDurations Config::showDurations() const { return m_data.showDurations; }
double Config::minDuration() const { return m_data.minDuration; }
TestRunOrder Config::runOrder() const { return m_data.runOrder; }
unsigned int Config::rngSeed() const { return *m_data.rngSeed; }
uint32_t Config::rngSeed() const { return m_data.rngSeed; }
UseColour Config::useColour() const { return m_data.useColour; }
bool Config::shouldDebugBreak() const { return m_data.shouldDebugBreak; }
int Config::abortAfter() const { return m_data.abortAfter; }