summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/mock/mock_remote_db_server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/dbtests/mock/mock_remote_db_server.cpp')
-rw-r--r--src/mongo/dbtests/mock/mock_remote_db_server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/dbtests/mock/mock_remote_db_server.cpp b/src/mongo/dbtests/mock/mock_remote_db_server.cpp
index 5b6a884ba8d..f1253cc7fd9 100644
--- a/src/mongo/dbtests/mock/mock_remote_db_server.cpp
+++ b/src/mongo/dbtests/mock/mock_remote_db_server.cpp
@@ -31,12 +31,12 @@
#include "mongo/dbtests/mock/mock_remote_db_server.h"
+#include <memory>
#include <tuple>
#include "mongo/dbtests/mock/mock_dbclient_connection.h"
#include "mongo/rpc/metadata.h"
#include "mongo/rpc/op_msg_rpc_impls.h"
-#include "mongo/stdx/memory.h"
#include "mongo/util/assert_util.h"
#include "mongo/util/net/socket_exception.h"
#include "mongo/util/str.h"
@@ -171,7 +171,7 @@ rpc::UniqueReply MockRemoteDBServer::runCommand(InstanceID id, const OpMsgReques
// We need to construct a reply message - it will always be read through a view so it
// doesn't matter whether we use OpMsgReplyBuilder or LegacyReplyBuilder
auto message = rpc::OpMsgReplyBuilder{}.setCommandReply(reply).done();
- auto replyView = stdx::make_unique<rpc::OpMsgReply>(&message);
+ auto replyView = std::make_unique<rpc::OpMsgReply>(&message);
return rpc::UniqueReply(std::move(message), std::move(replyView));
}