summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/rollback_impl_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/rollback_impl_test.cpp')
-rw-r--r--src/mongo/db/repl/rollback_impl_test.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mongo/db/repl/rollback_impl_test.cpp b/src/mongo/db/repl/rollback_impl_test.cpp
index 78327f0d2a3..836eecd1076 100644
--- a/src/mongo/db/repl/rollback_impl_test.cpp
+++ b/src/mongo/db/repl/rollback_impl_test.cpp
@@ -305,15 +305,15 @@ private:
void RollbackImplTest::setUp() {
RollbackTest::setUp();
- _localOplog = stdx::make_unique<OplogInterfaceLocal>(_opCtx.get());
- _remoteOplog = stdx::make_unique<OplogInterfaceMock>();
- _listener = stdx::make_unique<Listener>(this);
- _rollback = stdx::make_unique<RollbackImplForTest>(_localOplog.get(),
- _remoteOplog.get(),
- _storageInterface,
- _replicationProcess.get(),
- _coordinator,
- _listener.get());
+ _localOplog = std::make_unique<OplogInterfaceLocal>(_opCtx.get());
+ _remoteOplog = std::make_unique<OplogInterfaceMock>();
+ _listener = std::make_unique<Listener>(this);
+ _rollback = std::make_unique<RollbackImplForTest>(_localOplog.get(),
+ _remoteOplog.get(),
+ _storageInterface,
+ _replicationProcess.get(),
+ _coordinator,
+ _listener.get());
createOplog(_opCtx.get());
serverGlobalParams.clusterRole = ClusterRole::None;