diff options
author | Eddie Louie <eddie.louie@mongodb.com> | 2017-08-01 20:16:10 -0400 |
---|---|---|
committer | Eddie Louie <eddie.louie@mongodb.com> | 2017-08-01 20:16:10 -0400 |
commit | 9be0ac031fd016f768297b3647a4b786aa7ae5b6 (patch) | |
tree | 6ec2bf60813939c58d5dbb09daf2ebefbd483469 /src/mongo/db/pipeline/document_source_bucket.cpp | |
parent | fd01541d77ca1455c603c411f395d6ce34fab6f1 (diff) | |
download | mongo-9be0ac031fd016f768297b3647a4b786aa7ae5b6.tar.gz |
SERVER-29135 Add post-image lookup to $changeNotification
This reverts commit 2a76bd75d75197d3604643ff2b11d0a8f23c14f9.
Diffstat (limited to 'src/mongo/db/pipeline/document_source_bucket.cpp')
-rw-r--r-- | src/mongo/db/pipeline/document_source_bucket.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/document_source_bucket.cpp b/src/mongo/db/pipeline/document_source_bucket.cpp index 853ef0aaa42..e209834b14d 100644 --- a/src/mongo/db/pipeline/document_source_bucket.cpp +++ b/src/mongo/db/pipeline/document_source_bucket.cpp @@ -37,6 +37,7 @@ namespace mongo { using boost::intrusive_ptr; using std::vector; +using std::list; REGISTER_MULTI_STAGE_ALIAS(bucket, LiteParsedDocumentSourceDefault::parse, @@ -52,7 +53,7 @@ intrusive_ptr<ExpressionConstant> getExpressionConstant( } } // namespace -vector<intrusive_ptr<DocumentSource>> DocumentSourceBucket::createFromBson( +list<intrusive_ptr<DocumentSource>> DocumentSourceBucket::createFromBson( BSONElement elem, const intrusive_ptr<ExpressionContext>& pExpCtx) { uassert(40201, str::stream() << "Argument to $bucket stage must be an object, but found type: " |