diff options
author | Mathias Stearn <mathias@10gen.com> | 2017-06-22 15:25:37 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2017-07-13 16:53:12 -0400 |
commit | 1f21d889f89cf1338ff198264d63b029314eef7a (patch) | |
tree | 741021d15b7b2149b28c8eb84369350d8c9a34d8 /src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.cpp | |
parent | a6cc94d141f13feff33178a769c81282c7bc0170 (diff) | |
download | mongo-1f21d889f89cf1338ff198264d63b029314eef7a.tar.gz |
SERVER-29731 convert all direct subclasses of Command to BasicCommand
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.cpp | 8 |
1 files changed, 4 insertions, 4 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 eeb12474948..5ccadd3f724 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 @@ -111,9 +111,9 @@ private: MigrationChunkClonerSourceLegacy* _chunkCloner; }; -class InitialCloneCommand : public Command { +class InitialCloneCommand : public BasicCommand { public: - InitialCloneCommand() : Command("_migrateClone") {} + InitialCloneCommand() : BasicCommand("_migrateClone") {} void help(std::stringstream& h) const { h << "internal"; @@ -174,9 +174,9 @@ public: } initialCloneCommand; -class TransferModsCommand : public Command { +class TransferModsCommand : public BasicCommand { public: - TransferModsCommand() : Command("_transferMods") {} + TransferModsCommand() : BasicCommand("_transferMods") {} void help(std::stringstream& h) const { h << "internal"; |