diff options
author | ADAM David Alan Martin <adam.martin@10gen.com> | 2019-06-10 01:21:01 -0400 |
---|---|---|
committer | ADAM David Alan Martin <adam.martin@10gen.com> | 2019-06-10 01:59:35 -0400 |
commit | c36f9ecb91e49da7e637863889804fc4e6c6c05e (patch) | |
tree | 64d8aadb6d29042d4f4e7366bc1457e4e0612383 /src/mongo/db/matcher/extensions_callback_real.cpp | |
parent | c9548e729c8fecd9d7a9a5dd341da0433194ac73 (diff) | |
download | mongo-c36f9ecb91e49da7e637863889804fc4e6c6c05e.tar.gz |
SERVER-39339 Remove `stdx/memory.h`
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)}; } |