summaryrefslogtreecommitdiff
path: root/src/mongo/db/index/index_access_method.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/index/index_access_method.h')
-rw-r--r--src/mongo/db/index/index_access_method.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/index/index_access_method.h b/src/mongo/db/index/index_access_method.h
index b769dfe5a08..0961321b269 100644
--- a/src/mongo/db/index/index_access_method.h
+++ b/src/mongo/db/index/index_access_method.h
@@ -304,7 +304,7 @@ public:
* document, return 'true' if the index should be marked as multikey and 'false' otherwise.
*/
virtual bool shouldMarkIndexAsMultikey(
- const std::vector<KeyString::Value>& keys,
+ size_t numberOfKeys,
const std::vector<KeyString::Value>& multikeyMetadataKeys,
const MultikeyPaths& multikeyPaths) const = 0;
@@ -504,7 +504,7 @@ public:
MultikeyPaths* multikeyPaths,
boost::optional<RecordId> id = boost::none) const final;
- bool shouldMarkIndexAsMultikey(const std::vector<KeyString::Value>& keys,
+ bool shouldMarkIndexAsMultikey(size_t numberOfKeys,
const std::vector<KeyString::Value>& multikeyMetadataKeys,
const MultikeyPaths& multikeyPaths) const override;