diff options
author | Lingzhi Deng <lingzhi.deng@mongodb.com> | 2019-08-30 21:44:14 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-08-30 21:44:14 +0000 |
commit | d046020279c3a1af2d9c05d40cdaef84610f611d (patch) | |
tree | 54f4b725f7912340f69c98815a7ef02599e59f03 /src/mongo/db/repl/oplog_applier.cpp | |
parent | 966f51fa210c9db0e4cfff18fe400c0b2433b263 (diff) | |
download | mongo-d046020279c3a1af2d9c05d40cdaef84610f611d.tar.gz |
SERVER-36570: make OplogEntryBase mutable but keep OplogEntry immutable
Also make OplogEntry.raw private
(cherry picked from commit 25f11192a656ff72a2fe54e8b5e1373f84381953)
Diffstat (limited to 'src/mongo/db/repl/oplog_applier.cpp')
-rw-r--r-- | src/mongo/db/repl/oplog_applier.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/oplog_applier.cpp b/src/mongo/db/repl/oplog_applier.cpp index 6e97d38e348..2a1c71e9d77 100644 --- a/src/mongo/db/repl/oplog_applier.cpp +++ b/src/mongo/db/repl/oplog_applier.cpp @@ -124,7 +124,7 @@ void OplogApplier::enqueue(OperationContext* opCtx, Operations::const_iterator end) { OplogBuffer::Batch batch; for (auto i = begin; i != end; ++i) { - batch.push_back(i->raw); + batch.push_back(i->getRaw()); } enqueue(opCtx, batch.cbegin(), batch.cend()); } |