summaryrefslogtreecommitdiff
path: root/src/mongo/db/index/btree_access_method.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/index/btree_access_method.h')
-rw-r--r--src/mongo/db/index/btree_access_method.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/index/btree_access_method.h b/src/mongo/db/index/btree_access_method.h
index 8f0e6304d20..5621c99933f 100644
--- a/src/mongo/db/index/btree_access_method.h
+++ b/src/mongo/db/index/btree_access_method.h
@@ -60,7 +60,7 @@ private:
KeyStringSet* keys,
KeyStringSet* multikeyMetadataKeys,
MultikeyPaths* multikeyPaths,
- boost::optional<RecordId> id) const final;
+ const boost::optional<RecordId>& id) const final;
// Our keys differ for V0 and V1.
std::unique_ptr<BtreeKeyGenerator> _keyGenerator;