diff options
author | Charlie Swanson <charlie.swanson@mongodb.com> | 2017-10-04 17:13:24 -0400 |
---|---|---|
committer | Charlie Swanson <charlie.swanson@mongodb.com> | 2017-10-09 17:46:10 -0400 |
commit | 4f17acbd9ca2ba9b91a4c72813fcb413146cfdcf (patch) | |
tree | a3429a032a49624b8a6b0be854455de45d9e19f4 /src/mongo/db/pipeline/document_source_out.h | |
parent | 893d4efbdfc7d536d7b6c44a9cb31dcdb7f8fd20 (diff) | |
download | mongo-4f17acbd9ca2ba9b91a4c72813fcb413146cfdcf.tar.gz |
SERVER-29141 Enable change streams on sharded collections
Diffstat (limited to 'src/mongo/db/pipeline/document_source_out.h')
-rw-r--r-- | src/mongo/db/pipeline/document_source_out.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/pipeline/document_source_out.h b/src/mongo/db/pipeline/document_source_out.h index 1a164c51267..a9d824a1731 100644 --- a/src/mongo/db/pipeline/document_source_out.h +++ b/src/mongo/db/pipeline/document_source_out.h @@ -57,8 +57,8 @@ public: boost::intrusive_ptr<DocumentSource> getShardSource() final { return NULL; } - boost::intrusive_ptr<DocumentSource> getMergeSource() final { - return this; + std::list<boost::intrusive_ptr<DocumentSource>> getMergeSources() final { + return {this}; } const NamespaceString& getOutputNs() const { |