summaryrefslogtreecommitdiff
path: root/src/mongo/db/matcher/expression_where_noop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/matcher/expression_where_noop.cpp')
-rw-r--r--src/mongo/db/matcher/expression_where_noop.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/db/matcher/expression_where_noop.cpp b/src/mongo/db/matcher/expression_where_noop.cpp
index bd1469036e4..8372b0b49fe 100644
--- a/src/mongo/db/matcher/expression_where_noop.cpp
+++ b/src/mongo/db/matcher/expression_where_noop.cpp
@@ -31,7 +31,8 @@
#include "mongo/db/matcher/expression_where_noop.h"
-#include "mongo/stdx/memory.h"
+#include <memory>
+
namespace mongo {
@@ -47,7 +48,7 @@ std::unique_ptr<MatchExpression> WhereNoOpMatchExpression::shallowClone() const
params.code = getCode();
params.scope = getScope();
std::unique_ptr<WhereNoOpMatchExpression> e =
- stdx::make_unique<WhereNoOpMatchExpression>(std::move(params));
+ std::make_unique<WhereNoOpMatchExpression>(std::move(params));
if (getTag()) {
e->setTag(getTag()->clone());
}