diff options
Diffstat (limited to 'src/mongo/db/storage/mobile/mobile_kv_engine_test.cpp')
-rw-r--r-- | src/mongo/db/storage/mobile/mobile_kv_engine_test.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mongo/db/storage/mobile/mobile_kv_engine_test.cpp b/src/mongo/db/storage/mobile/mobile_kv_engine_test.cpp index 3cde73486e7..dfa93f18c19 100644 --- a/src/mongo/db/storage/mobile/mobile_kv_engine_test.cpp +++ b/src/mongo/db/storage/mobile/mobile_kv_engine_test.cpp @@ -29,10 +29,11 @@ #include "mongo/base/init.h" +#include <memory> + #include "mongo/db/storage/kv/kv_engine_test_harness.h" #include "mongo/db/storage/mobile/mobile_kv_engine.h" #include "mongo/db/storage/mobile/mobile_options_gen.h" -#include "mongo/stdx/memory.h" #include "mongo/unittest/temp_dir.h" #include "mongo/util/options_parser/options_parser.h" #include "mongo/util/options_parser/startup_options.h" @@ -56,7 +57,7 @@ public: storeMobileStorageOptionDefinitions(optionenvironment::startupOptionsParsed).ignore(); embedded::mobileGlobalOptions.disableVacuumJob = true; - _engine = stdx::make_unique<MobileKVEngine>( + _engine = std::make_unique<MobileKVEngine>( _dbPath.path(), embedded::mobileGlobalOptions, nullptr); } @@ -77,7 +78,7 @@ private: }; std::unique_ptr<KVHarnessHelper> makeHelper() { - return stdx::make_unique<MobileKVHarnessHelper>(); + return std::make_unique<MobileKVHarnessHelper>(); } MONGO_INITIALIZER(RegisterKVHarnessFactory)(InitializerContext*) { |