summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/count_scan.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/exec/count_scan.h')
-rw-r--r--src/mongo/db/exec/count_scan.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/exec/count_scan.h b/src/mongo/db/exec/count_scan.h
index f3f84ff8d57..f9c69cdede1 100644
--- a/src/mongo/db/exec/count_scan.h
+++ b/src/mongo/db/exec/count_scan.h
@@ -114,7 +114,6 @@ public:
void doRestoreState() final;
void doDetachFromOperationContext() final;
void doReattachToOperationContext() final;
- void doInvalidate(OperationContext* opCtx, const RecordId& dl, InvalidationType type) final;
StageType stageType() const final {
return STAGE_COUNT_SCAN;
@@ -136,7 +135,7 @@ private:
std::unique_ptr<SortedDataInterface::Cursor> _cursor;
// Could our index have duplicates? If so, we use _returned to dedup.
- bool _shouldDedup;
+ const bool _shouldDedup;
stdx::unordered_set<RecordId, RecordId::Hasher> _returned;
CountScanParams _params;