diff options
-rw-r--r-- | src/mongo/db/pipeline/document_source_densify.cpp | 5 | ||||
-rw-r--r-- | src/mongo/db/pipeline/document_source_densify.h | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/src/mongo/db/pipeline/document_source_densify.cpp b/src/mongo/db/pipeline/document_source_densify.cpp index c7d8b122c31..a631cad3782 100644 --- a/src/mongo/db/pipeline/document_source_densify.cpp +++ b/src/mongo/db/pipeline/document_source_densify.cpp @@ -142,7 +142,12 @@ bool DocumentSourceInternalDensify::DocGenerator::done() const { } DocumentSource::GetNextResult DocumentSourceInternalDensify::doGetNext() { +<<<<<<< HEAD return pSource->getNext(); +======= + auto nextInput = pSource->getNext(); + return nextInput; +>>>>>>> 5d323a58c9... bracket changes } } // namespace mongo diff --git a/src/mongo/db/pipeline/document_source_densify.h b/src/mongo/db/pipeline/document_source_densify.h index 5175e416a74..2c6364a087e 100644 --- a/src/mongo/db/pipeline/document_source_densify.h +++ b/src/mongo/db/pipeline/document_source_densify.h @@ -42,7 +42,6 @@ namespace document_source_densify { // TODO SERVER-57334 Translation logic goes here. } -// TODO SERVER-57332 This should inherit from DocumentSource. class DocumentSourceInternalDensify final : public DocumentSource { public: static constexpr StringData kStageName = "$_internalDensify"_sd; @@ -126,6 +125,5 @@ public: DocumentSourceInternalDensify(const boost::intrusive_ptr<ExpressionContext>& pExpCtx); GetNextResult doGetNext() final; - -}; -} // namespace mongo +}; +} // namespace mongo |