summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_record_store_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_record_store_test.cpp')
-rw-r--r--src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_record_store_test.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_record_store_test.cpp b/src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_record_store_test.cpp
index 1d09b16acdb..f677d4575c9 100644
--- a/src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_record_store_test.cpp
+++ b/src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_record_store_test.cpp
@@ -31,10 +31,11 @@
#include "mongo/db/storage/ephemeral_for_test/ephemeral_for_test_record_store.h"
+#include <memory>
+
#include "mongo/base/init.h"
#include "mongo/db/storage/ephemeral_for_test/ephemeral_for_test_recovery_unit.h"
#include "mongo/db/storage/record_store_test_harness.h"
-#include "mongo/stdx/memory.h"
#include "mongo/unittest/unittest.h"
namespace mongo {
@@ -49,7 +50,7 @@ public:
}
virtual std::unique_ptr<RecordStore> newNonCappedRecordStore(const std::string& ns) {
- return stdx::make_unique<EphemeralForTestRecordStore>(ns, &data);
+ return std::make_unique<EphemeralForTestRecordStore>(ns, &data);
}
virtual std::unique_ptr<RecordStore> newCappedRecordStore(int64_t cappedSizeBytes,
@@ -60,12 +61,12 @@ public:
virtual std::unique_ptr<RecordStore> newCappedRecordStore(const std::string& ns,
int64_t cappedSizeBytes,
int64_t cappedMaxDocs) final {
- return stdx::make_unique<EphemeralForTestRecordStore>(
+ return std::make_unique<EphemeralForTestRecordStore>(
ns, &data, true, cappedSizeBytes, cappedMaxDocs);
}
std::unique_ptr<RecoveryUnit> newRecoveryUnit() final {
- return stdx::make_unique<EphemeralForTestRecoveryUnit>();
+ return std::make_unique<EphemeralForTestRecoveryUnit>();
}
bool supportsDocLocking() final {
@@ -76,7 +77,7 @@ public:
};
std::unique_ptr<HarnessHelper> makeHarnessHelper() {
- return stdx::make_unique<EphemeralForTestHarnessHelper>();
+ return std::make_unique<EphemeralForTestHarnessHelper>();
}
MONGO_INITIALIZER(RegisterHarnessFactory)(InitializerContext* const) {