summaryrefslogtreecommitdiff
path: root/src/mongo/db/structure/capped_callback.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/structure/capped_callback.h')
-rw-r--r--src/mongo/db/structure/capped_callback.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/structure/capped_callback.h b/src/mongo/db/structure/capped_callback.h
index 0b86bd81709..59c23f9dab9 100644
--- a/src/mongo/db/structure/capped_callback.h
+++ b/src/mongo/db/structure/capped_callback.h
@@ -34,7 +34,7 @@
namespace mongo {
- class TransactionExperiment;
+ class OperationContext;
/**
* When a capped collection has to delete a document, it needs a way to tell the caller
@@ -48,7 +48,7 @@ namespace mongo {
/**
* This will be called right before loc is deleted when wrapping.
*/
- virtual Status aboutToDeleteCapped( TransactionExperiment* txn, const DiskLoc& loc ) = 0;
+ virtual Status aboutToDeleteCapped( OperationContext* txn, const DiskLoc& loc ) = 0;
};
}