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/client/remote_command_retry_scheduler.cpp | |
parent | c9548e729c8fecd9d7a9a5dd341da0433194ac73 (diff) | |
download | mongo-c36f9ecb91e49da7e637863889804fc4e6c6c05e.tar.gz |
SERVER-39339 Remove `stdx/memory.h`
Diffstat (limited to 'src/mongo/client/remote_command_retry_scheduler.cpp')
-rw-r--r-- | src/mongo/client/remote_command_retry_scheduler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/client/remote_command_retry_scheduler.cpp b/src/mongo/client/remote_command_retry_scheduler.cpp index 01e2a43f6b0..347c6043a6a 100644 --- a/src/mongo/client/remote_command_retry_scheduler.cpp +++ b/src/mongo/client/remote_command_retry_scheduler.cpp @@ -32,10 +32,10 @@ #include "mongo/platform/basic.h" #include <algorithm> +#include <memory> #include <vector> #include "mongo/client/remote_command_retry_scheduler.h" -#include "mongo/stdx/memory.h" #include "mongo/util/assert_util.h" #include "mongo/util/destructor_guard.h" #include "mongo/util/log.h" @@ -127,7 +127,7 @@ RemoteCommandRetryScheduler::makeRetryPolicy( Milliseconds maxResponseElapsedTotal, const std::initializer_list<ErrorCodes::Error>& retryableErrors) { std::unique_ptr<RetryPolicy> policy = - stdx::make_unique<RetryPolicyImpl>(maxAttempts, maxResponseElapsedTotal, retryableErrors); + std::make_unique<RetryPolicyImpl>(maxAttempts, maxResponseElapsedTotal, retryableErrors); return policy; } |