diff options
Diffstat (limited to 'src/mongo/db/storage/sorted_data_interface_test_harness.cpp')
-rw-r--r-- | src/mongo/db/storage/sorted_data_interface_test_harness.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/storage/sorted_data_interface_test_harness.cpp b/src/mongo/db/storage/sorted_data_interface_test_harness.cpp index 101a90bbe78..a756d8303ae 100644 --- a/src/mongo/db/storage/sorted_data_interface_test_harness.cpp +++ b/src/mongo/db/storage/sorted_data_interface_test_harness.cpp @@ -68,7 +68,7 @@ void mongo::removeFromIndex(OperationContext* opCtx, mongo::KeyString::Value mongo::makeKeyString(SortedDataInterface* sorted, BSONObj bsonKey, - boost::optional<RecordId> rid) { + const boost::optional<RecordId>& rid) { KeyString::Builder builder(sorted->getKeyStringVersion(), bsonKey, sorted->getOrdering()); if (rid) { builder.appendRecordId(*rid); |