summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/killcursors_common.h
diff options
context:
space:
mode:
authorBilly Donahue <billy.donahue@mongodb.com>2018-02-05 14:31:11 -0500
committerBilly Donahue <billy.donahue@mongodb.com>2018-02-06 10:16:15 -0500
commit09d4e0d92d5678a21de3cf6138631998c62d20fb (patch)
tree16bec911c97f81bfd37ef58dbc76d6536e21885a /src/mongo/db/commands/killcursors_common.h
parent1f376bcf8824df1a6122c297d5205daa1e6ff8a7 (diff)
downloadmongo-09d4e0d92d5678a21de3cf6138631998c62d20fb.tar.gz
SERVER-33136 const-ify the command auth accessors
Diffstat (limited to 'src/mongo/db/commands/killcursors_common.h')
-rw-r--r--src/mongo/db/commands/killcursors_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/killcursors_common.h b/src/mongo/db/commands/killcursors_common.h
index 90541adc709..ce8d8e30141 100644
--- a/src/mongo/db/commands/killcursors_common.h
+++ b/src/mongo/db/commands/killcursors_common.h
@@ -67,7 +67,7 @@ public:
Status checkAuthForCommand(Client* client,
const std::string& dbname,
- const BSONObj& cmdObj) final;
+ const BSONObj& cmdObj) const final;
bool run(OperationContext* opCtx,
const std::string& dbname,