diff options
author | Eddie Louie <eddie.louie@mongodb.com> | 2017-08-01 19:47:13 -0400 |
---|---|---|
committer | Eddie Louie <eddie.louie@mongodb.com> | 2017-08-01 19:47:13 -0400 |
commit | 2a76bd75d75197d3604643ff2b11d0a8f23c14f9 (patch) | |
tree | 10a26d5aec28d9d912c2020a9e4c87064382cf09 /src/mongo/db/pipeline/document_source.h | |
parent | 6fd97bdfa5f2d0d07993c538b0787ad788227ef2 (diff) | |
download | mongo-2a76bd75d75197d3604643ff2b11d0a8f23c14f9.tar.gz |
Revert "SERVER-29135 Add post-image lookup to $changeNotification"
This reverts commit ad30a49a33b8773cbc07388bb257d605cbd6aa12.
Diffstat (limited to 'src/mongo/db/pipeline/document_source.h')
-rw-r--r-- | src/mongo/db/pipeline/document_source.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/pipeline/document_source.h b/src/mongo/db/pipeline/document_source.h index 383cd56e35f..2545f02d8de 100644 --- a/src/mongo/db/pipeline/document_source.h +++ b/src/mongo/db/pipeline/document_source.h @@ -85,7 +85,7 @@ class Document; MONGO_INITIALIZER(addToDocSourceParserMap_##key)(InitializerContext*) { \ auto fullParserWrapper = [](BSONElement stageSpec, \ const boost::intrusive_ptr<ExpressionContext>& expCtx) { \ - return std::list<boost::intrusive_ptr<DocumentSource>>{ \ + return std::vector<boost::intrusive_ptr<DocumentSource>>{ \ (fullParser)(stageSpec, expCtx)}; \ }; \ LiteParsedDocumentSource::registerParser("$" #key, liteParser); \ @@ -115,7 +115,7 @@ class Document; class DocumentSource : public IntrusiveCounterUnsigned { public: - using Parser = stdx::function<std::list<boost::intrusive_ptr<DocumentSource>>( + using Parser = stdx::function<std::vector<boost::intrusive_ptr<DocumentSource>>( BSONElement, const boost::intrusive_ptr<ExpressionContext>&)>; /** @@ -303,7 +303,7 @@ public: /** * Create a DocumentSource pipeline stage from 'stageObj'. */ - static std::list<boost::intrusive_ptr<DocumentSource>> parse( + static std::vector<boost::intrusive_ptr<DocumentSource>> parse( const boost::intrusive_ptr<ExpressionContext>& expCtx, BSONObj stageObj); /** |