diff options
Diffstat (limited to 'src/mongo/db/auth/auth_op_observer_test.cpp')
-rw-r--r-- | src/mongo/db/auth/auth_op_observer_test.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/auth/auth_op_observer_test.cpp b/src/mongo/db/auth/auth_op_observer_test.cpp index 1168ae1836d..cbbff8dfe93 100644 --- a/src/mongo/db/auth/auth_op_observer_test.cpp +++ b/src/mongo/db/auth/auth_op_observer_test.cpp @@ -65,12 +65,12 @@ public: auto service = getServiceContext(); auto opCtx = cc().makeOperationContext(); - repl::StorageInterface::set(service, stdx::make_unique<repl::StorageInterfaceMock>()); + repl::StorageInterface::set(service, std::make_unique<repl::StorageInterfaceMock>()); // Set up ReplicationCoordinator and create oplog. repl::ReplicationCoordinator::set( service, - stdx::make_unique<repl::ReplicationCoordinatorMock>(service, createReplSettings())); + std::make_unique<repl::ReplicationCoordinatorMock>(service, createReplSettings())); repl::setOplogCollectionName(service); repl::createOplog(opCtx.get()); @@ -145,7 +145,7 @@ TEST_F(AuthOpObserverTest, MultipleAboutToDeleteAndOnDelete) { DEATH_TEST_F(AuthOpObserverTest, AboutToDeleteMustPreceedOnDelete, "invariant") { AuthOpObserver opObserver; auto opCtx = cc().makeOperationContext(); - opCtx->swapLockState(stdx::make_unique<LockerNoop>()); + opCtx->swapLockState(std::make_unique<LockerNoop>()); NamespaceString nss = {"test", "coll"}; opObserver.onDelete(opCtx.get(), nss, {}, {}, false, {}); } @@ -153,7 +153,7 @@ DEATH_TEST_F(AuthOpObserverTest, AboutToDeleteMustPreceedOnDelete, "invariant") DEATH_TEST_F(AuthOpObserverTest, EachOnDeleteRequiresAboutToDelete, "invariant") { AuthOpObserver opObserver; auto opCtx = cc().makeOperationContext(); - opCtx->swapLockState(stdx::make_unique<LockerNoop>()); + opCtx->swapLockState(std::make_unique<LockerNoop>()); NamespaceString nss = {"test", "coll"}; opObserver.aboutToDelete(opCtx.get(), nss, {}); opObserver.onDelete(opCtx.get(), nss, {}, {}, false, {}); |