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/update/update_object_node.h | |
parent | c9548e729c8fecd9d7a9a5dd341da0433194ac73 (diff) | |
download | mongo-c36f9ecb91e49da7e637863889804fc4e6c6c05e.tar.gz |
SERVER-39339 Remove `stdx/memory.h`
Diffstat (limited to 'src/mongo/db/update/update_object_node.h')
-rw-r--r-- | src/mongo/db/update/update_object_node.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/update/update_object_node.h b/src/mongo/db/update/update_object_node.h index 5cbae91f1a5..6f9bed7357a 100644 --- a/src/mongo/db/update/update_object_node.h +++ b/src/mongo/db/update/update_object_node.h @@ -30,6 +30,7 @@ #pragma once #include <map> +#include <memory> #include <string> #include <utility> #include <vector> @@ -39,7 +40,6 @@ #include "mongo/db/matcher/expression_with_placeholder.h" #include "mongo/db/update/modifier_table.h" #include "mongo/db/update/update_internal_node.h" -#include "mongo/stdx/memory.h" #include "mongo/stdx/unordered_map.h" namespace mongo { @@ -82,7 +82,7 @@ public: UpdateObjectNode() : UpdateInternalNode(Type::Object) {} std::unique_ptr<UpdateNode> clone() const final { - return stdx::make_unique<UpdateObjectNode>(*this); + return std::make_unique<UpdateObjectNode>(*this); } void setCollator(const CollatorInterface* collator) final { |