diff options
author | Billy Donahue <billy.donahue@mongodb.com> | 2018-01-29 11:23:25 -0500 |
---|---|---|
committer | Billy Donahue <billy.donahue@mongodb.com> | 2018-01-30 13:13:42 -0500 |
commit | 0700f1dc9c9f9985962d96f6aef6200a3a5bd57d (patch) | |
tree | c4ba664c23e14cff59d94f9676601087f22d5e33 /src/mongo/db/s/migration_destination_manager_legacy_commands.cpp | |
parent | f4215c128856ab315c9d3f3a25a5b9ec63269ebf (diff) | |
download | mongo-0700f1dc9c9f9985962d96f6aef6200a3a5bd57d.tar.gz |
SERVER-32958 Command::help() returns std::string
Diffstat (limited to 'src/mongo/db/s/migration_destination_manager_legacy_commands.cpp')
-rw-r--r-- | src/mongo/db/s/migration_destination_manager_legacy_commands.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mongo/db/s/migration_destination_manager_legacy_commands.cpp b/src/mongo/db/s/migration_destination_manager_legacy_commands.cpp index c598a5db337..d4b235f251f 100644 --- a/src/mongo/db/s/migration_destination_manager_legacy_commands.cpp +++ b/src/mongo/db/s/migration_destination_manager_legacy_commands.cpp @@ -59,8 +59,8 @@ class RecvChunkStartCommand : public ErrmsgCommandDeprecated { public: RecvChunkStartCommand() : ErrmsgCommandDeprecated("_recvChunkStart") {} - void help(std::stringstream& h) const { - h << "internal"; + std::string help() const override { + return "internal"; } virtual bool slaveOk() const { @@ -159,8 +159,8 @@ class RecvChunkStatusCommand : public BasicCommand { public: RecvChunkStatusCommand() : BasicCommand("_recvChunkStatus") {} - void help(std::stringstream& h) const { - h << "internal"; + std::string help() const override { + return "internal"; } virtual bool slaveOk() const { @@ -197,8 +197,8 @@ class RecvChunkCommitCommand : public BasicCommand { public: RecvChunkCommitCommand() : BasicCommand("_recvChunkCommit") {} - void help(std::stringstream& h) const { - h << "internal"; + std::string help() const override { + return "internal"; } virtual bool slaveOk() const { @@ -243,8 +243,8 @@ class RecvChunkAbortCommand : public BasicCommand { public: RecvChunkAbortCommand() : BasicCommand("_recvChunkAbort") {} - void help(std::stringstream& h) const { - h << "internal"; + std::string help() const override { + return "internal"; } virtual bool slaveOk() const { |