Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/src/catch2/catch_session.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2021-10-08 21:32:03 +0200
committerMartin Hořeňovský2021-10-08 21:35:45 +0200
commited1f343a41ef9b0db576971f86ccd384bdbaa5d8 (patch)
tree5d71a801b3e6d869e5f6ab0c628130ae220799d7 /src/catch2/catch_session.cpp
parent200a487cf293c31e277df9b43a52260d8f982efb (diff)
downloadcatch3-ed1f343a41ef9b0db576971f86ccd384bdbaa5d8.tar.gz
Provide random-device option for --rng-seed and make it default
Diffstat (limited to 'src/catch2/catch_session.cpp')
-rw-r--r--src/catch2/catch_session.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/catch2/catch_session.cpp b/src/catch2/catch_session.cpp
index 913c7111..e7878117 100644
--- a/src/catch2/catch_session.cpp
+++ b/src/catch2/catch_session.cpp
@@ -24,7 +24,6 @@
#include <catch2/internal/catch_move_and_forward.hpp>
#include <algorithm>
-#include <ctime>
#include <iomanip>
#include <set>
@@ -171,10 +170,6 @@ namespace Catch {
if( m_startupExceptions )
return 1;
- if (!m_configData.rngSeed) {
- m_configData.rngSeed = static_cast<unsigned int>(std::time(nullptr));
- }
-
auto result = m_cli.parse( Clara::Args( argc, argv ) );
if( !result ) {
config();