summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/capped_utils_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/catalog/capped_utils_test.cpp')
-rw-r--r--src/mongo/db/catalog/capped_utils_test.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mongo/db/catalog/capped_utils_test.cpp b/src/mongo/db/catalog/capped_utils_test.cpp
index f474978550a..444a4c73fdc 100644
--- a/src/mongo/db/catalog/capped_utils_test.cpp
+++ b/src/mongo/db/catalog/capped_utils_test.cpp
@@ -29,6 +29,8 @@
#include "mongo/platform/basic.h"
+#include <memory>
+
#include "mongo/db/catalog/capped_utils.h"
#include "mongo/db/catalog/collection_catalog_entry.h"
#include "mongo/db/client.h"
@@ -37,7 +39,6 @@
#include "mongo/db/repl/replication_coordinator_mock.h"
#include "mongo/db/repl/storage_interface_impl.h"
#include "mongo/db/service_context_d_test_fixture.h"
-#include "mongo/stdx/memory.h"
#include "mongo/unittest/unittest.h"
namespace {
@@ -61,11 +62,11 @@ void CappedUtilsTest::setUp() {
auto service = getServiceContext();
// Set up ReplicationCoordinator and ensure that we are primary.
- auto replCoord = stdx::make_unique<repl::ReplicationCoordinatorMock>(service);
+ auto replCoord = std::make_unique<repl::ReplicationCoordinatorMock>(service);
ASSERT_OK(replCoord->setFollowerMode(repl::MemberState::RS_PRIMARY));
repl::ReplicationCoordinator::set(service, std::move(replCoord));
- _storage = stdx::make_unique<repl::StorageInterfaceImpl>();
+ _storage = std::make_unique<repl::StorageInterfaceImpl>();
}
void CappedUtilsTest::tearDown() {