summaryrefslogtreecommitdiff
path: root/src/mongo/db/index_builds_coordinator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/index_builds_coordinator.h')
-rw-r--r--src/mongo/db/index_builds_coordinator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/index_builds_coordinator.h b/src/mongo/db/index_builds_coordinator.h
index ac8193685ac..bb1e372ae8f 100644
--- a/src/mongo/db/index_builds_coordinator.h
+++ b/src/mongo/db/index_builds_coordinator.h
@@ -690,7 +690,7 @@ protected:
void _scanCollectionAndInsertSortedKeysIntoIndex(
OperationContext* opCtx,
std::shared_ptr<ReplIndexBuildState> replState,
- boost::optional<RecordId> resumeAfterRecordId = boost::none);
+ const boost::optional<RecordId>& resumeAfterRecordId = boost::none);
/**
* Performs the second phase of the index build, for use when resuming from the second phase.
*/