summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/authentication_commands.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/authentication_commands.h')
-rw-r--r--src/mongo/db/commands/authentication_commands.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/authentication_commands.h b/src/mongo/db/commands/authentication_commands.h
index e49c214091c..f6b0c66e147 100644
--- a/src/mongo/db/commands/authentication_commands.h
+++ b/src/mongo/db/commands/authentication_commands.h
@@ -57,7 +57,7 @@ public:
CmdAuthenticate() : Command("authenticate") {}
bool run(OperationContext* opCtx,
const std::string& dbname,
- BSONObj& cmdObj,
+ const BSONObj& cmdObj,
std::string& errmsg,
BSONObjBuilder& result);