summaryrefslogtreecommitdiff
path: root/src/mongo/db/index/hash_access_method.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/index/hash_access_method.h')
-rw-r--r--src/mongo/db/index/hash_access_method.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/index/hash_access_method.h b/src/mongo/db/index/hash_access_method.h
index 851c841dbe2..6dc7df9e48d 100644
--- a/src/mongo/db/index/hash_access_method.h
+++ b/src/mongo/db/index/hash_access_method.h
@@ -67,7 +67,7 @@ private:
KeyStringSet* keys,
KeyStringSet* multikeyMetadataKeys,
MultikeyPaths* multikeyPaths,
- boost::optional<RecordId> id) const final;
+ const boost::optional<RecordId>& id) const final;
BSONObj _keyPattern;