summaryrefslogtreecommitdiff
path: root/src/mongo/db/index/index_access_method.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/index/index_access_method.h')
-rw-r--r--src/mongo/db/index/index_access_method.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/index/index_access_method.h b/src/mongo/db/index/index_access_method.h
index c2c3c1e47ca..4c1229c5335 100644
--- a/src/mongo/db/index/index_access_method.h
+++ b/src/mongo/db/index/index_access_method.h
@@ -138,7 +138,7 @@ public:
* 'numDeleted' will be set to the number of keys removed from the index for the document.
*/
virtual Status update(OperationContext* opCtx,
- Collection* coll,
+ const Collection* coll,
const UpdateTicket& ticket,
int64_t* numInserted,
int64_t* numDeleted) = 0;
@@ -198,7 +198,7 @@ public:
* Sets this index as multikey with the provided paths.
*/
virtual void setIndexIsMultikey(OperationContext* opCtx,
- Collection* collection,
+ const Collection* collection,
MultikeyPaths paths) = 0;
//
@@ -473,7 +473,7 @@ public:
UpdateTicket* ticket) const final;
Status update(OperationContext* opCtx,
- Collection* coll,
+ const Collection* coll,
const UpdateTicket& ticket,
int64_t* numInserted,
int64_t* numDeleted) final;
@@ -499,7 +499,7 @@ public:
Status compact(OperationContext* opCtx) final;
void setIndexIsMultikey(OperationContext* opCtx,
- Collection* collection,
+ const Collection* collection,
MultikeyPaths paths) final;
std::unique_ptr<BulkBuilder> initiateBulk(