summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands/cluster_write_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/commands/cluster_write_cmd.cpp')
-rw-r--r--src/mongo/s/commands/cluster_write_cmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/commands/cluster_write_cmd.cpp b/src/mongo/s/commands/cluster_write_cmd.cpp
index b4dd380fae5..166768d3033 100644
--- a/src/mongo/s/commands/cluster_write_cmd.cpp
+++ b/src/mongo/s/commands/cluster_write_cmd.cpp
@@ -63,7 +63,7 @@ namespace {
*
* Batch execution (targeting and dispatching) is performed by the BatchWriteExec class.
*/
-class ClusterWriteCmd : public Command {
+class ClusterWriteCmd : public BasicCommand {
public:
virtual ~ClusterWriteCmd() {}
@@ -195,7 +195,7 @@ protected:
* write batches of type "writeType", and will require privilege "action" to run.
*/
ClusterWriteCmd(StringData name, BatchedCommandRequest::BatchType writeType)
- : Command(name), _writeType(writeType) {}
+ : BasicCommand(name), _writeType(writeType) {}
private:
// Type of batch (e.g. insert, update).