diff options
Diffstat (limited to 'src/mongo/db/pipeline/document_source.cpp')
-rw-r--r-- | src/mongo/db/pipeline/document_source.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/document_source.cpp b/src/mongo/db/pipeline/document_source.cpp index 6e58adae2bf..a9d9f74181a 100644 --- a/src/mongo/db/pipeline/document_source.cpp +++ b/src/mongo/db/pipeline/document_source.cpp @@ -41,6 +41,7 @@ namespace mongo { using Parser = DocumentSource::Parser; using boost::intrusive_ptr; +using std::list; using std::string; using std::vector; @@ -60,7 +61,7 @@ void DocumentSource::registerParser(string name, Parser parser) { parserMap[name] = parser; } -vector<intrusive_ptr<DocumentSource>> DocumentSource::parse( +list<intrusive_ptr<DocumentSource>> DocumentSource::parse( const intrusive_ptr<ExpressionContext>& expCtx, BSONObj stageObj) { uassert(16435, "A pipeline stage specification object must contain exactly one field.", |