summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/index_filter_commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/index_filter_commands.cpp')
-rw-r--r--src/mongo/db/commands/index_filter_commands.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/commands/index_filter_commands.cpp b/src/mongo/db/commands/index_filter_commands.cpp
index d8187c00861..1eaeadcd656 100644
--- a/src/mongo/db/commands/index_filter_commands.cpp
+++ b/src/mongo/db/commands/index_filter_commands.cpp
@@ -137,8 +137,8 @@ bool IndexFilterCommand::slaveOverrideOk() const {
return true;
}
-void IndexFilterCommand::help(stringstream& ss) const {
- ss << helpText;
+std::string IndexFilterCommand::help() const {
+ return helpText;
}
Status IndexFilterCommand::checkAuthForCommand(Client* client,