summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/count_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/count_cmd.cpp')
-rw-r--r--src/mongo/db/commands/count_cmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/commands/count_cmd.cpp b/src/mongo/db/commands/count_cmd.cpp
index 2a3db9a0341..dcd60503a80 100644
--- a/src/mongo/db/commands/count_cmd.cpp
+++ b/src/mongo/db/commands/count_cmd.cpp
@@ -54,9 +54,9 @@ using std::stringstream;
/**
* Implements the MongoD side of the count command.
*/
-class CmdCount : public Command {
+class CmdCount : public BasicCommand {
public:
- CmdCount() : Command("count") {}
+ CmdCount() : BasicCommand("count") {}
virtual bool supportsWriteConcern(const BSONObj& cmd) const override {
return false;