summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/group_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/group_cmd.cpp')
-rw-r--r--src/mongo/db/commands/group_cmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/commands/group_cmd.cpp b/src/mongo/db/commands/group_cmd.cpp
index e66dc123214..5aab82e6fd3 100644
--- a/src/mongo/db/commands/group_cmd.cpp
+++ b/src/mongo/db/commands/group_cmd.cpp
@@ -58,9 +58,9 @@ namespace {
* The group command is deprecated. Users should prefer the aggregation framework or mapReduce. See
* http://dochub.mongodb.org/core/group-command-deprecation for more detail.
*/
-class GroupCommand : public Command {
+class GroupCommand : public BasicCommand {
public:
- GroupCommand() : Command("group") {}
+ GroupCommand() : BasicCommand("group") {}
private:
virtual bool supportsWriteConcern(const BSONObj& cmd) const override {