diff options
Diffstat (limited to 'src/mongo/client/dbclient_connection.h')
-rw-r--r-- | src/mongo/client/dbclient_connection.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/client/dbclient_connection.h b/src/mongo/client/dbclient_connection.h index 13788423545..dc2f9ae7f6c 100644 --- a/src/mongo/client/dbclient_connection.h +++ b/src/mongo/client/dbclient_connection.h @@ -30,6 +30,7 @@ #pragma once #include <cstdint> +#include <functional> #include "mongo/base/string_data.h" #include "mongo/client/connection_string.h" @@ -48,7 +49,6 @@ #include "mongo/rpc/op_msg.h" #include "mongo/rpc/protocol.h" #include "mongo/rpc/unique_message.h" -#include "mongo/stdx/functional.h" #include "mongo/stdx/mutex.h" #include "mongo/transport/message_compressor_manager.h" #include "mongo/transport/session.h" @@ -83,7 +83,7 @@ public: * status. */ using HandshakeValidationHook = - stdx::function<Status(const executor::RemoteCommandResponse& isMasterReply)>; + std::function<Status(const executor::RemoteCommandResponse& isMasterReply)>; /** @param _autoReconnect if true, automatically reconnect on a connection failure @@ -162,7 +162,7 @@ public: nsOrUuid, query, nToReturn, nToSkip, fieldsToReturn, queryOptions, batchSize); } - unsigned long long query(stdx::function<void(DBClientCursorBatchIterator&)> f, + unsigned long long query(std::function<void(DBClientCursorBatchIterator&)> f, const NamespaceStringOrUUID& nsOrUuid, Query query, const BSONObj* fieldsToReturn, |