From c5540ac7d3ceb7c6ce8ff5a3354d80f3eb09dbf1 Mon Sep 17 00:00:00 2001 From: Justin Seyster Date: Thu, 26 Sep 2019 01:27:30 +0000 Subject: SERVER-42649 Use Value instead of BSONObj in the in-memory sort key --- src/mongo/dbtests/plan_executor_invalidation_test.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/mongo/dbtests/plan_executor_invalidation_test.cpp') diff --git a/src/mongo/dbtests/plan_executor_invalidation_test.cpp b/src/mongo/dbtests/plan_executor_invalidation_test.cpp index 61eedeab72f..590d518feae 100644 --- a/src/mongo/dbtests/plan_executor_invalidation_test.cpp +++ b/src/mongo/dbtests/plan_executor_invalidation_test.cpp @@ -85,10 +85,9 @@ public: std::unique_ptr cq = std::move(statusWithCQ.getValue()); // Takes ownership of 'ws', 'scan', and 'cq'. - auto statusWithPlanExecutor = PlanExecutor::make(&_opCtx, + auto statusWithPlanExecutor = PlanExecutor::make(std::move(cq), std::move(ws), std::move(scan), - std::move(cq), _ctx->db()->getCollection(&_opCtx, nss), PlanExecutor::YIELD_MANUAL); ASSERT_OK(statusWithPlanExecutor.getStatus()); -- cgit v1.2.1