diff options
Diffstat (limited to 'src/mongo/db/commands/profile_common.h')
-rw-r--r-- | src/mongo/db/commands/profile_common.h | 6 |
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, |