summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/mmap_v1/record_store_v1_capped.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/storage/mmap_v1/record_store_v1_capped.h')
-rw-r--r--src/mongo/db/storage/mmap_v1/record_store_v1_capped.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/storage/mmap_v1/record_store_v1_capped.h b/src/mongo/db/storage/mmap_v1/record_store_v1_capped.h
index 58f7f8c9ed5..454f2595905 100644
--- a/src/mongo/db/storage/mmap_v1/record_store_v1_capped.h
+++ b/src/mongo/db/storage/mmap_v1/record_store_v1_capped.h
@@ -41,7 +41,7 @@ namespace mongo {
class CappedRecordStoreV1 final : public RecordStoreV1Base {
public:
CappedRecordStoreV1(OperationContext* txn,
- CappedDocumentDeleteCallback* collection,
+ CappedCallback* collection,
StringData ns,
RecordStoreV1MetaData* details,
ExtentManager* em,
@@ -82,8 +82,8 @@ protected:
return false;
}
- void setCappedDeleteCallback(CappedDocumentDeleteCallback* cb) final {
- _deleteCallback = cb;
+ void setCappedCallback(CappedCallback* cb) final {
+ _cappedCallback = cb;
}
StatusWith<DiskLoc> allocRecord(OperationContext* txn,
@@ -121,7 +121,7 @@ private:
// -- end copy from cap.cpp --
- CappedDocumentDeleteCallback* _deleteCallback;
+ CappedCallback* _cappedCallback;
OwnedPointerVector<ExtentManager::CacheHint> _extentAdvice;