summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/framework.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/dbtests/framework.cpp')
-rw-r--r--src/mongo/dbtests/framework.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/dbtests/framework.cpp b/src/mongo/dbtests/framework.cpp
index f3d0b6f2ebb..c4947ebba57 100644
--- a/src/mongo/dbtests/framework.cpp
+++ b/src/mongo/dbtests/framework.cpp
@@ -66,7 +66,7 @@ namespace dbtests {
int runDbTests(int argc, char** argv) {
frameworkGlobalParams.perfHist = 1;
- frameworkGlobalParams.seed = time(0);
+ frameworkGlobalParams.seed = time(nullptr);
frameworkGlobalParams.runsPerTest = 1;
registerShutdownTask([] {