summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/classic_stage_builder_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/query/classic_stage_builder_test.cpp')
-rw-r--r--src/mongo/db/query/classic_stage_builder_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/query/classic_stage_builder_test.cpp b/src/mongo/db/query/classic_stage_builder_test.cpp
index 5d912b81d3d..64f00ebf4c2 100644
--- a/src/mongo/db/query/classic_stage_builder_test.cpp
+++ b/src/mongo/db/query/classic_stage_builder_test.cpp
@@ -59,7 +59,7 @@ public:
* Converts a 'QuerySolutionNode' to a 'QuerySolution'.
*/
std::unique_ptr<QuerySolution> makeQuerySolution(std::unique_ptr<QuerySolutionNode> root) {
- auto querySoln = std::make_unique<QuerySolution>();
+ auto querySoln = std::make_unique<QuerySolution>(QueryPlannerParams::Options::DEFAULT);
querySoln->setRoot(std::move(root));
return querySoln;
}