summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/oplog.h
diff options
context:
space:
mode:
authorHenrik Edin <henrik.edin@mongodb.com>2023-02-08 20:34:31 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-02-09 05:52:35 +0000
commitc3109b89d9c315c5f3005ed81256f5e420ad228d (patch)
treeb259ff518da3373455e317a89a2b5c60b6f3cbbc /src/mongo/db/repl/oplog.h
parent749bf3ae22c47abfbd41ffff698b18d43c88d930 (diff)
downloadmongo-c3109b89d9c315c5f3005ed81256f5e420ad228d.tar.gz
SERVER-73777 Fix so AutoGetOplog returns a yieldable pointer
Diffstat (limited to 'src/mongo/db/repl/oplog.h')
-rw-r--r--src/mongo/db/repl/oplog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/oplog.h b/src/mongo/db/repl/oplog.h
index abec01de8e1..e8c7d1bdac0 100644
--- a/src/mongo/db/repl/oplog.h
+++ b/src/mongo/db/repl/oplog.h
@@ -157,7 +157,7 @@ void acquireOplogCollectionForLogging(OperationContext* opCtx);
* Called by catalog::openCatalog() to re-establish the oplog collection pointer while holding onto
* the global lock in exclusive mode.
*/
-void establishOplogCollectionForLogging(OperationContext* opCtx, const CollectionPtr& oplog);
+void establishOplogCollectionForLogging(OperationContext* opCtx, const Collection* oplog);
using IncrementOpsAppliedStatsFn = std::function<void()>;