From c9548e729c8fecd9d7a9a5dd341da0433194ac73 Mon Sep 17 00:00:00 2001 From: ADAM David Alan Martin Date: Mon, 10 Jun 2019 01:18:23 -0400 Subject: SERVER-39338 Remove `stdx/functional.h` --- src/mongo/db/commands/user_management_commands.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mongo/db/commands/user_management_commands.cpp') diff --git a/src/mongo/db/commands/user_management_commands.cpp b/src/mongo/db/commands/user_management_commands.cpp index 623cffb0367..c47ca33f94c 100644 --- a/src/mongo/db/commands/user_management_commands.cpp +++ b/src/mongo/db/commands/user_management_commands.cpp @@ -33,6 +33,7 @@ #include "mongo/db/commands/user_management_commands.h" +#include #include #include @@ -68,7 +69,6 @@ #include "mongo/db/service_context.h" #include "mongo/rpc/get_status_from_command_result.h" #include "mongo/s/write_ops/batched_command_response.h" -#include "mongo/stdx/functional.h" #include "mongo/stdx/mutex.h" #include "mongo/stdx/unordered_set.h" #include "mongo/util/icu.h" @@ -246,7 +246,7 @@ Status queryAuthzDocument(OperationContext* opCtx, const NamespaceString& collectionName, const BSONObj& query, const BSONObj& projection, - const stdx::function& resultProcessor) { + const std::function& resultProcessor) { try { DBDirectClient client(opCtx); client.query(resultProcessor, collectionName, query, &projection); -- cgit v1.2.1