diff options
author | ADAM David Alan Martin <adam.martin@10gen.com> | 2019-06-10 01:21:01 -0400 |
---|---|---|
committer | ADAM David Alan Martin <adam.martin@10gen.com> | 2019-06-10 01:59:35 -0400 |
commit | c36f9ecb91e49da7e637863889804fc4e6c6c05e (patch) | |
tree | 64d8aadb6d29042d4f4e7366bc1457e4e0612383 /src/mongo/db/ftdc/controller_test.cpp | |
parent | c9548e729c8fecd9d7a9a5dd341da0433194ac73 (diff) | |
download | mongo-c36f9ecb91e49da7e637863889804fc4e6c6c05e.tar.gz |
SERVER-39339 Remove `stdx/memory.h`
Diffstat (limited to 'src/mongo/db/ftdc/controller_test.cpp')
-rw-r--r-- | src/mongo/db/ftdc/controller_test.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/ftdc/controller_test.cpp b/src/mongo/db/ftdc/controller_test.cpp index 8afc65b96a3..d4f87f38c79 100644 --- a/src/mongo/db/ftdc/controller_test.cpp +++ b/src/mongo/db/ftdc/controller_test.cpp @@ -31,6 +31,7 @@ #include <boost/filesystem.hpp> #include <iostream> +#include <memory> #include "mongo/base/data_type_validated.h" #include "mongo/base/init.h" @@ -45,7 +46,6 @@ #include "mongo/db/ftdc/ftdc_test.h" #include "mongo/db/jsobj.h" #include "mongo/db/service_context.h" -#include "mongo/stdx/memory.h" #include "mongo/unittest/temp_dir.h" #include "mongo/unittest/unittest.h" @@ -171,8 +171,8 @@ TEST_F(FTDCControllerTest, TestFull) { FTDCController c(dir, config); - auto c1 = stdx::make_unique<FTDCMetricsCollectorMock2>(); - auto c2 = stdx::make_unique<FTDCMetricsCollectorMockRotate>(); + auto c1 = std::make_unique<FTDCMetricsCollectorMock2>(); + auto c2 = std::make_unique<FTDCMetricsCollectorMockRotate>(); auto c1Ptr = c1.get(); auto c2Ptr = c2.get(); @@ -243,7 +243,7 @@ TEST_F(FTDCControllerTest, TestStartAsDisabled) { config.maxFileSizeBytes = FTDCConfig::kMaxFileSizeBytesDefault; config.maxDirectorySizeBytes = FTDCConfig::kMaxDirectorySizeBytesDefault; - auto c1 = stdx::make_unique<FTDCMetricsCollectorMock2>(); + auto c1 = std::make_unique<FTDCMetricsCollectorMock2>(); auto c1Ptr = c1.get(); |