diff options
Diffstat (limited to 'src/mongo/dbtests/storage_timestamp_tests.cpp')
-rw-r--r-- | src/mongo/dbtests/storage_timestamp_tests.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mongo/dbtests/storage_timestamp_tests.cpp b/src/mongo/dbtests/storage_timestamp_tests.cpp index 6b1cfda9eb9..fa6345a0a7f 100644 --- a/src/mongo/dbtests/storage_timestamp_tests.cpp +++ b/src/mongo/dbtests/storage_timestamp_tests.cpp @@ -178,12 +178,12 @@ public: _opCtx->getServiceContext(), std::unique_ptr<repl::ReplicationCoordinator>(coordinatorMock)); repl::StorageInterface::set(_opCtx->getServiceContext(), - stdx::make_unique<repl::StorageInterfaceImpl>()); + std::make_unique<repl::StorageInterfaceImpl>()); auto replicationProcess = new repl::ReplicationProcess( repl::StorageInterface::get(_opCtx->getServiceContext()), - stdx::make_unique<repl::ReplicationConsistencyMarkersMock>(), - stdx::make_unique<repl::ReplicationRecoveryMock>()); + std::make_unique<repl::ReplicationConsistencyMarkersMock>(), + std::make_unique<repl::ReplicationRecoveryMock>()); repl::ReplicationProcess::set( cc().getServiceContext(), std::unique_ptr<repl::ReplicationProcess>(replicationProcess)); @@ -196,8 +196,8 @@ public: // to avoid the invariant in ReplClientInfo::setLastOp that the optime only goes forward. repl::ReplClientInfo::forClient(_opCtx->getClient()).clearLastOp_forTest(); - auto registry = stdx::make_unique<OpObserverRegistry>(); - registry->addObserver(stdx::make_unique<OpObserverShardingImpl>()); + auto registry = std::make_unique<OpObserverRegistry>(); + registry->addObserver(std::make_unique<OpObserverShardingImpl>()); _opCtx->getServiceContext()->setOpObserver(std::move(registry)); repl::setOplogCollectionName(getGlobalServiceContext()); @@ -1742,7 +1742,7 @@ public: auto storageInterface = repl::StorageInterface::get(_opCtx); repl::DropPendingCollectionReaper::set( _opCtx->getServiceContext(), - stdx::make_unique<repl::DropPendingCollectionReaper>(storageInterface)); + std::make_unique<repl::DropPendingCollectionReaper>(storageInterface)); auto kvStorageEngine = dynamic_cast<KVStorageEngine*>(_opCtx->getServiceContext()->getStorageEngine()); |