diff options
Diffstat (limited to 'src/mongo/db/matcher/extensions_callback_real.cpp')
-rw-r--r-- | src/mongo/db/matcher/extensions_callback_real.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/matcher/extensions_callback_real.cpp b/src/mongo/db/matcher/extensions_callback_real.cpp index 97bd30a1089..313602e4752 100644 --- a/src/mongo/db/matcher/extensions_callback_real.cpp +++ b/src/mongo/db/matcher/extensions_callback_real.cpp @@ -47,7 +47,7 @@ StatusWithMatchExpression ExtensionsCallbackReal::parseText(BSONElement text) co } auto exp = - stdx::make_unique<TextMatchExpression>(_opCtx, *_nss, std::move(textParams.getValue())); + std::make_unique<TextMatchExpression>(_opCtx, *_nss, std::move(textParams.getValue())); return {std::move(exp)}; } @@ -58,7 +58,7 @@ StatusWithMatchExpression ExtensionsCallbackReal::parseWhere(BSONElement where) return whereParams.getStatus(); } - auto exp = stdx::make_unique<WhereMatchExpression>( + auto exp = std::make_unique<WhereMatchExpression>( _opCtx, std::move(whereParams.getValue()), _nss->db()); return {std::move(exp)}; } |