summaryrefslogtreecommitdiff
path: root/src/mongo/db/matcher/schema/expression_internal_schema_xor.h
diff options
context:
space:
mode:
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 b11d1641a33..9aebb07d68d 100644
--- a/src/mongo/db/matcher/schema/expression_internal_schema_xor.h
+++ b/src/mongo/db/matcher/schema/expression_internal_schema_xor.h
@@ -48,7 +48,7 @@ public:
bool matchesSingleElement(const BSONElement&, MatchDetails* details = nullptr) const final;
virtual std::unique_ptr<MatchExpression> shallowClone() const {
- auto xorCopy = stdx::make_unique<InternalSchemaXorMatchExpression>();
+ auto xorCopy = std::make_unique<InternalSchemaXorMatchExpression>();
for (size_t i = 0; i < numChildren(); ++i) {
xorCopy->add(getChild(i)->shallowClone().release());
}