summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/insert_group.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/insert_group.h')
-rw-r--r--src/mongo/db/repl/insert_group.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/repl/insert_group.h b/src/mongo/db/repl/insert_group.h
index adc48753767..43b1b058c3f 100644
--- a/src/mongo/db/repl/insert_group.h
+++ b/src/mongo/db/repl/insert_group.h
@@ -40,7 +40,7 @@ namespace repl {
/**
* Groups consecutive insert operations on the same namespace and applies the combined operation
* as a single oplog entry.
- * Advances the the MultiApplier::OperationPtrs iterator if the grouped insert is applied
+ * Advances the the std::vector<const OplogEntry*> iterator if the grouped insert is applied
* successfully.
*/
class InsertGroup {
@@ -48,10 +48,10 @@ class InsertGroup {
InsertGroup& operator=(const InsertGroup&) = delete;
public:
- using ConstIterator = MultiApplier::OperationPtrs::const_iterator;
+ using ConstIterator = std::vector<const OplogEntry*>::const_iterator;
using Mode = OplogApplication::Mode;
- InsertGroup(MultiApplier::OperationPtrs* ops, OperationContext* opCtx, Mode mode);
+ InsertGroup(std::vector<const OplogEntry*>* ops, OperationContext* opCtx, Mode mode);
/**
* Attempts to group insert operations starting at 'iter'.