summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/hashcmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/hashcmd.cpp')
-rw-r--r--src/mongo/db/commands/hashcmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/hashcmd.cpp b/src/mongo/db/commands/hashcmd.cpp
index b47b2352650..a540cd771f0 100644
--- a/src/mongo/db/commands/hashcmd.cpp
+++ b/src/mongo/db/commands/hashcmd.cpp
@@ -81,7 +81,7 @@ public:
**/
bool run(OperationContext* opCtx,
const string& db,
- BSONObj& cmdObj,
+ const BSONObj& cmdObj,
string& errmsg,
BSONObjBuilder& result) {
result.appendAs(cmdObj.firstElement(), "key");