summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/requires_index_stage.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/exec/requires_index_stage.h')
-rw-r--r--src/mongo/db/exec/requires_index_stage.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/exec/requires_index_stage.h b/src/mongo/db/exec/requires_index_stage.h
index f8e1e7a3b88..cd3ba14fe4e 100644
--- a/src/mongo/db/exec/requires_index_stage.h
+++ b/src/mongo/db/exec/requires_index_stage.h
@@ -37,9 +37,9 @@ namespace mongo {
/**
* A base class for plan stages which require access to a particular index within a particular
- * collection. Provides subclasses access to the index's Collection*, as well as to catalog types
- * representing the index itself such as the IndexDescriptor. This base class is responsible for
- * checking that the collection and index are still valid (e.g. have not been dropped) when
+ * collection. Provides subclasses access to the index's const Collection*, as well as to catalog
+ * types representing the index itself such as the IndexDescriptor. This base class is responsible
+ * for checking that the collection and index are still valid (e.g. have not been dropped) when
* recovering from yield.
*
* Subclasses must implement doSaveStateRequiresIndex() and doRestoreStateRequiresIndex() in order