summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/getmore_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/getmore_cmd.cpp')
-rw-r--r--src/mongo/db/commands/getmore_cmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/commands/getmore_cmd.cpp b/src/mongo/db/commands/getmore_cmd.cpp
index 8438544407d..456799b070f 100644
--- a/src/mongo/db/commands/getmore_cmd.cpp
+++ b/src/mongo/db/commands/getmore_cmd.cpp
@@ -75,11 +75,11 @@ MONGO_FP_DECLARE(rsStopGetMoreCmd);
* Can be used in combination with any cursor-generating command (e.g. find, aggregate,
* listIndexes).
*/
-class GetMoreCmd : public Command {
+class GetMoreCmd : public BasicCommand {
MONGO_DISALLOW_COPYING(GetMoreCmd);
public:
- GetMoreCmd() : Command("getMore") {}
+ GetMoreCmd() : BasicCommand("getMore") {}
virtual bool supportsWriteConcern(const BSONObj& cmd) const override {