summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/repl_set_commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/repl_set_commands.cpp')
-rw-r--r--src/mongo/db/repl/repl_set_commands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/repl_set_commands.cpp b/src/mongo/db/repl/repl_set_commands.cpp
index c0b16b9e9b5..f436cbf881c 100644
--- a/src/mongo/db/repl/repl_set_commands.cpp
+++ b/src/mongo/db/repl/repl_set_commands.cpp
@@ -92,7 +92,7 @@ public:
// No auth needed because it only works when enabled via command line.
virtual Status checkAuthForCommand(Client* client,
const std::string& dbname,
- const BSONObj& cmdObj) {
+ const BSONObj& cmdObj) const {
return Status::OK();
}
CmdReplSetTest() : ReplSetCommand("replSetTest") {}