summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/query_planner_common.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/query/query_planner_common.cpp')
-rw-r--r--src/mongo/db/query/query_planner_common.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/query/query_planner_common.cpp b/src/mongo/db/query/query_planner_common.cpp
index 85534e6128c..f5b23b68dad 100644
--- a/src/mongo/db/query/query_planner_common.cpp
+++ b/src/mongo/db/query/query_planner_common.cpp
@@ -77,7 +77,7 @@ void QueryPlannerCommon::reverseScans(QuerySolutionNode* node) {
}
for (size_t i = 0; i < node->children.size(); ++i) {
- reverseScans(node->children[i]);
+ reverseScans(node->children[i].get());
}
}