summaryrefslogtreecommitdiff
path: root/src/mongo/db/matcher/schema/expression_internal_schema_xor.h
diff options
context:
space:
mode:
authorDavid Storch <david.storch@10gen.com>2017-08-01 15:40:36 -0400
committerDavid Storch <david.storch@10gen.com>2017-08-02 16:54:56 -0400
commit0334cb2bf602ec0123594b59504b9b3e0a099899 (patch)
tree432c8463e9e7273ec2f11978c5dcbc47e363ba84 /src/mongo/db/matcher/schema/expression_internal_schema_xor.h
parentf38554ab9fd611bb798812e4eb1fa7e3d3bbb7e3 (diff)
downloadmongo-0334cb2bf602ec0123594b59504b9b3e0a099899.tar.gz
SERVER-30245 Make ArrayMatchingMatchExpression inherit from PathMatchExpression.
Diffstat (limited to 'src/mongo/db/matcher/schema/expression_internal_schema_xor.h')
-rw-r--r--src/mongo/db/matcher/schema/expression_internal_schema_xor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/matcher/schema/expression_internal_schema_xor.h b/src/mongo/db/matcher/schema/expression_internal_schema_xor.h
index f865a480f8f..53fb21c0631 100644
--- a/src/mongo/db/matcher/schema/expression_internal_schema_xor.h
+++ b/src/mongo/db/matcher/schema/expression_internal_schema_xor.h
@@ -44,7 +44,7 @@ public:
bool matches(const MatchableDocument* doc, MatchDetails* details = nullptr) const final;
- bool matchesSingleElement(const BSONElement& element) const final;
+ bool matchesSingleElement(const BSONElement&, MatchDetails* details = nullptr) const final;
virtual std::unique_ptr<MatchExpression> shallowClone() const {
auto xorCopy = stdx::make_unique<InternalSchemaXorMatchExpression>();