summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands.h
diff options
context:
space:
mode:
authorBilly Donahue <billy.donahue@mongodb.com>2018-05-03 15:28:36 -0400
committerBilly Donahue <billy.donahue@mongodb.com>2018-05-10 16:31:43 -0400
commite2ff0151038bc01a4e8992169ed37c63de1d5a6a (patch)
tree875451f50fc372296b554091ab88f856e30004a7 /src/mongo/db/commands.h
parent4f9bdd18edb24c66fbb587833bff8c1bcba91c80 (diff)
downloadmongo-e2ff0151038bc01a4e8992169ed37c63de1d5a6a.tar.gz
SERVER-34653 linearize control flow in Command::_checkAuthorizationImpl.
Also relevant to SERVER-29862.
Diffstat (limited to 'src/mongo/db/commands.h')
-rw-r--r--src/mongo/db/commands.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands.h b/src/mongo/db/commands.h
index 8d467747a28..40248943ef0 100644
--- a/src/mongo/db/commands.h
+++ b/src/mongo/db/commands.h
@@ -532,7 +532,7 @@ private:
*/
virtual void doCheckAuthorization(OperationContext* opCtx) const = 0;
- Status _checkAuthorizationImpl(OperationContext* opCtx, const OpMsgRequest& request) const;
+ void _checkAuthorizationImpl(OperationContext* opCtx, const OpMsgRequest& request) const;
const Command* const _definition;
};