diff options
Diffstat (limited to 'src/mongo/tools/mongoebench_options.cpp')
-rw-r--r-- | src/mongo/tools/mongoebench_options.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/tools/mongoebench_options.cpp b/src/mongo/tools/mongoebench_options.cpp index 0ba4394d976..f2982ee028a 100644 --- a/src/mongo/tools/mongoebench_options.cpp +++ b/src/mongo/tools/mongoebench_options.cpp @@ -94,7 +94,7 @@ Status storeMongoeBenchOptions(const moe::Environment& params, } int64_t seed = params.count("seed") ? static_cast<int64_t>(params["seed"].as<long>()) - : SecureRandom::create()->nextInt64(); + : SecureRandom().nextInt64(); if (mongoeBenchGlobalParams.preConfig) { mongoeBenchGlobalParams.preConfig->randomSeed = seed; |