diff options
Diffstat (limited to 'src/mongo/db/matcher/expression_type.h')
-rw-r--r-- | src/mongo/db/matcher/expression_type.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/matcher/expression_type.h b/src/mongo/db/matcher/expression_type.h index 3f210103c75..aa2860b8fd2 100644 --- a/src/mongo/db/matcher/expression_type.h +++ b/src/mongo/db/matcher/expression_type.h @@ -67,7 +67,7 @@ public: virtual StringData name() const = 0; std::unique_ptr<MatchExpression> shallowClone() const final { - auto expr = stdx::make_unique<T>(path(), _typeSet); + auto expr = std::make_unique<T>(path(), _typeSet); if (getTag()) { expr->setTag(getTag()->clone()); } @@ -189,7 +189,7 @@ public: std::unique_ptr<MatchExpression> shallowClone() const final { auto expr = - stdx::make_unique<InternalSchemaBinDataSubTypeExpression>(path(), _binDataSubType); + std::make_unique<InternalSchemaBinDataSubTypeExpression>(path(), _binDataSubType); if (getTag()) { expr->setTag(getTag()->clone()); } |