summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/profile_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/profile_common.h')
-rw-r--r--src/mongo/db/commands/profile_common.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/commands/profile_common.h b/src/mongo/db/commands/profile_common.h
index e691636bf8b..f09bce4e993 100644
--- a/src/mongo/db/commands/profile_common.h
+++ b/src/mongo/db/commands/profile_common.h
@@ -64,9 +64,9 @@ public:
return false;
}
- Status checkAuthForCommand(Client* client,
- const std::string& dbname,
- const BSONObj& cmdObj) const final;
+ Status checkAuthForOperation(OperationContext*,
+ const DatabaseName&,
+ const BSONObj&) const final;
bool run(OperationContext* opCtx,
const DatabaseName& dbName,