summaryrefslogtreecommitdiff
path: root/src/mongo/db/update/pullall_node.cpp
diff options
context:
space:
mode:
authorADAM David Alan Martin <adam.martin@10gen.com>2019-06-10 01:21:01 -0400
committerADAM David Alan Martin <adam.martin@10gen.com>2019-06-10 01:59:35 -0400
commitc36f9ecb91e49da7e637863889804fc4e6c6c05e (patch)
tree64d8aadb6d29042d4f4e7366bc1457e4e0612383 /src/mongo/db/update/pullall_node.cpp
parentc9548e729c8fecd9d7a9a5dd341da0433194ac73 (diff)
downloadmongo-c36f9ecb91e49da7e637863889804fc4e6c6c05e.tar.gz
SERVER-39339 Remove `stdx/memory.h`
Diffstat (limited to 'src/mongo/db/update/pullall_node.cpp')
-rw-r--r--src/mongo/db/update/pullall_node.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/update/pullall_node.cpp b/src/mongo/db/update/pullall_node.cpp
index c082823657c..e4c0936fa83 100644
--- a/src/mongo/db/update/pullall_node.cpp
+++ b/src/mongo/db/update/pullall_node.cpp
@@ -42,7 +42,7 @@ public:
: _elementsToMatch(std::move(elementsToMatch)), _collator(collator) {}
std::unique_ptr<ElementMatcher> clone() const final {
- return stdx::make_unique<SetMatcher>(*this);
+ return std::make_unique<SetMatcher>(*this);
}
bool match(const mutablebson::ConstElement& element) final {
@@ -83,7 +83,7 @@ Status PullAllNode::init(BSONElement modExpr,
<< typeName(modExpr.type()));
}
- _matcher = stdx::make_unique<SetMatcher>(modExpr.Array(), expCtx->getCollator());
+ _matcher = std::make_unique<SetMatcher>(modExpr.Array(), expCtx->getCollator());
return Status::OK();
}