summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/plan_ranker.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/query/plan_ranker.h')
-rw-r--r--src/mongo/db/query/plan_ranker.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/query/plan_ranker.h b/src/mongo/db/query/plan_ranker.h
index 5265eee2422..5b694856399 100644
--- a/src/mongo/db/query/plan_ranker.h
+++ b/src/mongo/db/query/plan_ranker.h
@@ -28,8 +28,8 @@
#pragma once
-#include <list>
#include <memory>
+#include <queue>
#include <vector>
#include "mongo/base/owned_pointer_vector.h"
@@ -77,7 +77,7 @@ struct CandidatePlan {
WorkingSet* ws; // Not owned here.
// Any results produced during the plan's execution prior to ranking are retained here.
- std::list<WorkingSetID> results;
+ std::queue<WorkingSetID> results;
bool failed;
};