diff options
Diffstat (limited to 'src/mongo/s/write_ops/batched_command_request.h')
-rw-r--r-- | src/mongo/s/write_ops/batched_command_request.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/s/write_ops/batched_command_request.h b/src/mongo/s/write_ops/batched_command_request.h index b49e893e5aa..7b7700b5df4 100644 --- a/src/mongo/s/write_ops/batched_command_request.h +++ b/src/mongo/s/write_ops/batched_command_request.h @@ -30,11 +30,11 @@ #pragma once #include <boost/optional.hpp> +#include <memory> #include "mongo/db/ops/write_ops.h" #include "mongo/rpc/op_msg.h" #include "mongo/s/chunk_version.h" -#include "mongo/stdx/memory.h" namespace mongo { @@ -48,15 +48,15 @@ public: BatchedCommandRequest(write_ops::Insert insertOp) : _batchType(BatchType_Insert), - _insertReq(stdx::make_unique<write_ops::Insert>(std::move(insertOp))) {} + _insertReq(std::make_unique<write_ops::Insert>(std::move(insertOp))) {} BatchedCommandRequest(write_ops::Update updateOp) : _batchType(BatchType_Update), - _updateReq(stdx::make_unique<write_ops::Update>(std::move(updateOp))) {} + _updateReq(std::make_unique<write_ops::Update>(std::move(updateOp))) {} BatchedCommandRequest(write_ops::Delete deleteOp) : _batchType(BatchType_Delete), - _deleteReq(stdx::make_unique<write_ops::Delete>(std::move(deleteOp))) {} + _deleteReq(std::make_unique<write_ops::Delete>(std::move(deleteOp))) {} BatchedCommandRequest(BatchedCommandRequest&&) = default; |