diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2016-02-23 11:07:20 -0500 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2016-02-23 11:10:06 -0500 |
commit | 9644f415b20dba495f5d2f1dfae2bdb4ff562c69 (patch) | |
tree | d4497a5997b3141cc1e10d06a6586a3f58246dd8 /src | |
parent | fa2b1a5c8c1518812a327620582bfa7c342ba7d0 (diff) | |
download | mongo-9644f415b20dba495f5d2f1dfae2bdb4ff562c69.tar.gz |
SERVER-22789 Use stdx::make_unique instead of std::make_unique
Diffstat (limited to 'src')
-rw-r--r-- | src/mongo/s/catalog/replset/catalog_manager_replica_set_write_retry_test.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/s/catalog/replset/catalog_manager_replica_set_write_retry_test.cpp b/src/mongo/s/catalog/replset/catalog_manager_replica_set_write_retry_test.cpp index 238fa72377c..205fe8ca3cd 100644 --- a/src/mongo/s/catalog/replset/catalog_manager_replica_set_write_retry_test.cpp +++ b/src/mongo/s/catalog/replset/catalog_manager_replica_set_write_retry_test.cpp @@ -57,6 +57,7 @@ #include "mongo/s/write_ops/batched_command_response.h" #include "mongo/stdx/chrono.h" #include "mongo/stdx/future.h" +#include "mongo/stdx/memory.h" #include "mongo/util/log.h" namespace mongo { @@ -268,7 +269,7 @@ TEST_F(InsertRetryTest, DuplicateKeyErrorAfterWriteConcernFailureMatch) { response.setOk(true); response.setN(1); - auto wcError = std::make_unique<WCErrorDetail>(); + auto wcError = stdx::make_unique<WCErrorDetail>(); WriteConcernResult wcRes; wcRes.err = "timeout"; @@ -372,7 +373,7 @@ TEST_F(UpdateRetryTest, WriteConcernFailure) { response.setOk(true); response.setNModified(1); - auto wcError = std::make_unique<WCErrorDetail>(); + auto wcError = stdx::make_unique<WCErrorDetail>(); WriteConcernResult wcRes; wcRes.err = "timeout"; |