diff options
Diffstat (limited to 'src/mongo/s/catalog/sharding_catalog_write_retry_test.cpp')
-rw-r--r-- | src/mongo/s/catalog/sharding_catalog_write_retry_test.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/s/catalog/sharding_catalog_write_retry_test.cpp b/src/mongo/s/catalog/sharding_catalog_write_retry_test.cpp index 6ffc535bcb7..1851a41ef00 100644 --- a/src/mongo/s/catalog/sharding_catalog_write_retry_test.cpp +++ b/src/mongo/s/catalog/sharding_catalog_write_retry_test.cpp @@ -31,6 +31,7 @@ #include "mongo/platform/basic.h" +#include <memory> #include <set> #include <string> #include <vector> @@ -56,7 +57,6 @@ #include "mongo/s/sharding_router_test_fixture.h" #include "mongo/s/write_ops/batched_command_response.h" #include "mongo/stdx/future.h" -#include "mongo/stdx/memory.h" #include "mongo/util/log.h" namespace mongo { @@ -288,7 +288,7 @@ TEST_F(InsertRetryTest, DuplicateKeyErrorAfterWriteConcernFailureMatch) { response.setStatus(Status::OK()); response.setN(1); - auto wcError = stdx::make_unique<WriteConcernErrorDetail>(); + auto wcError = std::make_unique<WriteConcernErrorDetail>(); WriteConcernResult wcRes; wcRes.err = "timeout"; @@ -486,7 +486,7 @@ TEST_F(UpdateRetryTest, OperationInterruptedDueToPrimaryStepDown) { BatchedCommandResponse response; response.setStatus(Status::OK()); - auto writeErrDetail = stdx::make_unique<WriteErrorDetail>(); + auto writeErrDetail = std::make_unique<WriteErrorDetail>(); writeErrDetail->setIndex(0); writeErrDetail->setStatus( {ErrorCodes::InterruptedDueToReplStateChange, "Operation interrupted"}); @@ -538,7 +538,7 @@ TEST_F(UpdateRetryTest, WriteConcernFailure) { response.setStatus(Status::OK()); response.setNModified(1); - auto wcError = stdx::make_unique<WriteConcernErrorDetail>(); + auto wcError = std::make_unique<WriteConcernErrorDetail>(); WriteConcernResult wcRes; wcRes.err = "timeout"; |