summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/plan_executor_impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/query/plan_executor_impl.cpp')
-rw-r--r--src/mongo/db/query/plan_executor_impl.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mongo/db/query/plan_executor_impl.cpp b/src/mongo/db/query/plan_executor_impl.cpp
index b01b49efba9..849993364c5 100644
--- a/src/mongo/db/query/plan_executor_impl.cpp
+++ b/src/mongo/db/query/plan_executor_impl.cpp
@@ -33,6 +33,8 @@
#include "mongo/db/query/plan_executor_impl.h"
+#include <memory>
+
#include "mongo/bson/simple_bsonobj_comparator.h"
#include "mongo/db/catalog/collection.h"
#include "mongo/db/catalog/database.h"
@@ -54,7 +56,6 @@
#include "mongo/db/query/plan_yield_policy.h"
#include "mongo/db/repl/replication_coordinator.h"
#include "mongo/db/service_context.h"
-#include "mongo/stdx/memory.h"
#include "mongo/util/fail_point_service.h"
#include "mongo/util/log.h"
#include "mongo/util/scopeguard.h"
@@ -91,13 +92,13 @@ std::unique_ptr<PlanYieldPolicy> makeYieldPolicy(PlanExecutor* exec,
case PlanExecutor::YieldPolicy::NO_YIELD:
case PlanExecutor::YieldPolicy::WRITE_CONFLICT_RETRY_ONLY:
case PlanExecutor::YieldPolicy::INTERRUPT_ONLY: {
- return stdx::make_unique<PlanYieldPolicy>(exec, policy);
+ return std::make_unique<PlanYieldPolicy>(exec, policy);
}
case PlanExecutor::YieldPolicy::ALWAYS_TIME_OUT: {
- return stdx::make_unique<AlwaysTimeOutYieldPolicy>(exec);
+ return std::make_unique<AlwaysTimeOutYieldPolicy>(exec);
}
case PlanExecutor::YieldPolicy::ALWAYS_MARK_KILLED: {
- return stdx::make_unique<AlwaysPlanKilledYieldPolicy>(exec);
+ return std::make_unique<AlwaysPlanKilledYieldPolicy>(exec);
}
default:
MONGO_UNREACHABLE;