summaryrefslogtreecommitdiff
path: root/src/mongo/db/auth/authz_manager_external_state_local.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/auth/authz_manager_external_state_local.h')
-rw-r--r--src/mongo/db/auth/authz_manager_external_state_local.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/auth/authz_manager_external_state_local.h b/src/mongo/db/auth/authz_manager_external_state_local.h
index 5ddb737b4f5..31b3869f114 100644
--- a/src/mongo/db/auth/authz_manager_external_state_local.h
+++ b/src/mongo/db/auth/authz_manager_external_state_local.h
@@ -29,6 +29,7 @@
#pragma once
+#include <functional>
#include <string>
#include "mongo/base/status.h"
@@ -36,7 +37,6 @@
#include "mongo/db/auth/role_graph.h"
#include "mongo/db/auth/role_name.h"
#include "mongo/db/auth/user_name.h"
-#include "mongo/stdx/functional.h"
#include "mongo/stdx/mutex.h"
namespace mongo {
@@ -101,7 +101,7 @@ public:
const NamespaceString& collectionName,
const BSONObj& query,
const BSONObj& projection,
- const stdx::function<void(const BSONObj&)>& resultProcessor) = 0;
+ const std::function<void(const BSONObj&)>& resultProcessor) = 0;
void logOp(OperationContext* opCtx,
AuthorizationManagerImpl* authManager,