summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.cpp
diff options
context:
space:
mode:
authorBilly Donahue <billy.donahue@mongodb.com>2018-01-29 11:23:25 -0500
committerBilly Donahue <billy.donahue@mongodb.com>2018-01-30 13:13:42 -0500
commit0700f1dc9c9f9985962d96f6aef6200a3a5bd57d (patch)
treec4ba664c23e14cff59d94f9676601087f22d5e33 /src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.cpp
parentf4215c128856ab315c9d3f3a25a5b9ec63269ebf (diff)
downloadmongo-0700f1dc9c9f9985962d96f6aef6200a3a5bd57d.tar.gz
SERVER-32958 Command::help() returns std::string
Diffstat (limited to 'src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.cpp')
-rw-r--r--src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.cpp b/src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.cpp
index a22d83f15f5..785a3309d22 100644
--- a/src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.cpp
+++ b/src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.cpp
@@ -117,8 +117,8 @@ class InitialCloneCommand : public BasicCommand {
public:
InitialCloneCommand() : BasicCommand("_migrateClone") {}
- void help(std::stringstream& h) const {
- h << "internal";
+ std::string help() const override {
+ return "internal";
}
virtual bool supportsWriteConcern(const BSONObj& cmd) const override {
@@ -179,8 +179,8 @@ class TransferModsCommand : public BasicCommand {
public:
TransferModsCommand() : BasicCommand("_transferMods") {}
- void help(std::stringstream& h) const {
- h << "internal";
+ std::string help() const override {
+ return "internal";
}
virtual bool supportsWriteConcern(const BSONObj& cmd) const override {
@@ -228,8 +228,8 @@ class MigrateSessionCommand : public BasicCommand {
public:
MigrateSessionCommand() : BasicCommand("_getNextSessionMods") {}
- void help(std::stringstream& h) const {
- h << "internal";
+ std::string help() const override {
+ return "internal";
}
virtual bool supportsWriteConcern(const BSONObj& cmd) const override {