summaryrefslogtreecommitdiff
path: root/src/mongo/db/matcher/schema/expression_internal_schema_all_elem_match_from_index.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/matcher/schema/expression_internal_schema_all_elem_match_from_index.h')
-rw-r--r--src/mongo/db/matcher/schema/expression_internal_schema_all_elem_match_from_index.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/matcher/schema/expression_internal_schema_all_elem_match_from_index.h b/src/mongo/db/matcher/schema/expression_internal_schema_all_elem_match_from_index.h
index 1a385142116..007ac6bdf59 100644
--- a/src/mongo/db/matcher/schema/expression_internal_schema_all_elem_match_from_index.h
+++ b/src/mongo/db/matcher/schema/expression_internal_schema_all_elem_match_from_index.h
@@ -53,7 +53,7 @@ public:
std::unique_ptr<ExpressionWithPlaceholder> expression,
clonable_ptr<ErrorAnnotation> annotation = nullptr);
- std::unique_ptr<MatchExpression> shallowClone() const final;
+ std::unique_ptr<MatchExpression> clone() const final;
bool matchesArray(const BSONObj& array, MatchDetails* details) const final {
return !findFirstMismatchInArray(array, details);