diff options
author | Billy Donahue <billy.donahue@mongodb.com> | 2019-10-09 17:09:10 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-10-09 17:09:10 +0000 |
commit | e1f433d2c47f623ceb5d1d1aee7605fefb71b846 (patch) | |
tree | c5e9cf60c65093839d1402e9755faf8342dd78e4 /src/mongo/db/db.cpp | |
parent | 3cb9e7903a73e0bbcd1b00823bbd53e0f4341acd (diff) | |
download | mongo-e1f433d2c47f623ceb5d1d1aee7605fefb71b846.tar.gz |
SERVER-43641 upgrade random.h
This reverts commit a40b196bd3cecd0b66a6323f57e6f08efe0af392.
Diffstat (limited to 'src/mongo/db/db.cpp')
-rw-r--r-- | src/mongo/db/db.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/db.cpp b/src/mongo/db/db.cpp index 2dc91c831d8..269304be6e3 100644 --- a/src/mongo/db/db.cpp +++ b/src/mongo/db/db.cpp @@ -852,7 +852,7 @@ void setUpReplication(ServiceContext* serviceContext) { std::make_unique<repl::TopologyCoordinator>(topoCoordOptions), replicationProcess, storageInterface, - SecureRandom::create()->nextInt64()); + SecureRandom().nextInt64()); repl::ReplicationCoordinator::set(serviceContext, std::move(replCoord)); repl::setOplogCollectionName(serviceContext); |