diff options
Diffstat (limited to 'src/mongo/db/matcher/schema/expression_internal_schema_str_length.cpp')
-rw-r--r-- | src/mongo/db/matcher/schema/expression_internal_schema_str_length.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/mongo/db/matcher/schema/expression_internal_schema_str_length.cpp b/src/mongo/db/matcher/schema/expression_internal_schema_str_length.cpp index d8f961ce35b..87d6396fd0f 100644 --- a/src/mongo/db/matcher/schema/expression_internal_schema_str_length.cpp +++ b/src/mongo/db/matcher/schema/expression_internal_schema_str_length.cpp @@ -35,11 +35,13 @@ namespace mongo { -InternalSchemaStrLengthMatchExpression::InternalSchemaStrLengthMatchExpression(MatchType type, - StringData path, - long long strLen, - StringData name) - : LeafMatchExpression(type, path), _name(name), _strLen(strLen) {} +InternalSchemaStrLengthMatchExpression::InternalSchemaStrLengthMatchExpression( + MatchType type, + StringData path, + long long strLen, + StringData name, + clonable_ptr<ErrorAnnotation> annotation) + : LeafMatchExpression(type, path, std::move(annotation)), _name(name), _strLen(strLen) {} void InternalSchemaStrLengthMatchExpression::debugString(StringBuilder& debug, int indentationLevel) const { |