summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/capped_utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/catalog/capped_utils.cpp')
-rw-r--r--src/mongo/db/catalog/capped_utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/catalog/capped_utils.cpp b/src/mongo/db/catalog/capped_utils.cpp
index 3b9ea7425bb..ba86a56e539 100644
--- a/src/mongo/db/catalog/capped_utils.cpp
+++ b/src/mongo/db/catalog/capped_utils.cpp
@@ -237,7 +237,7 @@ void cloneCollectionAsCapped(OperationContext* opCtx,
// Because of that, we acquire an optime for the insert now to ensure that the insert
// oplog entry gets logged before any delete oplog entries.
if (!isOplogDisabledForCappedCollection) {
- auto oplogInfo = repl::LocalOplogInfo::get(opCtx);
+ auto oplogInfo = LocalOplogInfo::get(opCtx);
auto oplogSlots = oplogInfo->getNextOpTimes(opCtx, /*batchSize=*/1);
insertStmt.oplogSlot = oplogSlots.front();
}