summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/create_indexes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/create_indexes.cpp')
-rw-r--r--src/mongo/db/commands/create_indexes.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/commands/create_indexes.cpp b/src/mongo/db/commands/create_indexes.cpp
index 7d0968ccd72..563a173d7b9 100644
--- a/src/mongo/db/commands/create_indexes.cpp
+++ b/src/mongo/db/commands/create_indexes.cpp
@@ -208,9 +208,9 @@ StatusWith<std::vector<BSONObj>> resolveCollectionDefaultProperties(
/**
* { createIndexes : "bar", indexes : [ { ns : "test.bar", key : { x : 1 }, name: "x_1" } ] }
*/
-class CmdCreateIndex : public Command {
+class CmdCreateIndex : public BasicCommand {
public:
- CmdCreateIndex() : Command(kCommandName) {}
+ CmdCreateIndex() : BasicCommand(kCommandName) {}
virtual bool supportsWriteConcern(const BSONObj& cmd) const override {
return true;