summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/parallel_collection_scan.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/parallel_collection_scan.cpp')
-rw-r--r--src/mongo/db/commands/parallel_collection_scan.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/commands/parallel_collection_scan.cpp b/src/mongo/db/commands/parallel_collection_scan.cpp
index a39e9a2cc3c..debd6973295 100644
--- a/src/mongo/db/commands/parallel_collection_scan.cpp
+++ b/src/mongo/db/commands/parallel_collection_scan.cpp
@@ -49,7 +49,7 @@ using stdx::make_unique;
namespace {
-class ParallelCollectionScanCmd : public Command {
+class ParallelCollectionScanCmd : public BasicCommand {
public:
struct ExtentInfo {
ExtentInfo(RecordId dl, size_t s) : diskLoc(dl), size(s) {}
@@ -57,7 +57,7 @@ public:
size_t size;
};
- ParallelCollectionScanCmd() : Command("parallelCollectionScan") {}
+ ParallelCollectionScanCmd() : BasicCommand("parallelCollectionScan") {}
virtual bool supportsWriteConcern(const BSONObj& cmd) const override {
return false;