diff options
Diffstat (limited to 'src/mongo/db/commands/hashcmd.cpp')
-rw-r--r-- | src/mongo/db/commands/hashcmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/hashcmd.cpp b/src/mongo/db/commands/hashcmd.cpp index 021ccfd573a..3339c48e2d1 100644 --- a/src/mongo/db/commands/hashcmd.cpp +++ b/src/mongo/db/commands/hashcmd.cpp @@ -62,7 +62,7 @@ public: // No auth needed because it only works when enabled via command line. virtual void addRequiredPrivileges(const std::string& dbname, const BSONObj& cmdObj, - std::vector<Privilege>* out) {} + std::vector<Privilege>* out) const {} std::string help() const override { return "returns the hash of the first BSONElement val in a BSONObj"; } |