summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document_source_unwind.cpp
diff options
context:
space:
mode:
authorBernard Gorman <bernard.gorman@gmail.com>2018-06-12 13:35:22 +0100
committerBernard Gorman <bernard.gorman@gmail.com>2018-06-22 04:03:41 +0100
commitc798e34f5479c43da70d5f9f7d4919f16e6dbd50 (patch)
treefa2e47d9c74a26fa01874c9cc76a13f6dbc31dbe /src/mongo/db/pipeline/document_source_unwind.cpp
parent04d8939bd9c6776da8b7effe9c4bcaa20591d88f (diff)
downloadmongo-c798e34f5479c43da70d5f9f7d4919f16e6dbd50.tar.gz
SERVER-35329 Package agg projection code for use outside of agg execution
Diffstat (limited to 'src/mongo/db/pipeline/document_source_unwind.cpp')
-rw-r--r--src/mongo/db/pipeline/document_source_unwind.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/pipeline/document_source_unwind.cpp b/src/mongo/db/pipeline/document_source_unwind.cpp
index 1c172cb17be..810638526a6 100644
--- a/src/mongo/db/pipeline/document_source_unwind.cpp
+++ b/src/mongo/db/pipeline/document_source_unwind.cpp
@@ -247,9 +247,9 @@ Value DocumentSourceUnwind::serialize(boost::optional<ExplainOptions::Verbosity>
<< (_indexPath ? Value((*_indexPath).fullPath()) : Value()))));
}
-DocumentSource::GetDepsReturn DocumentSourceUnwind::getDependencies(DepsTracker* deps) const {
+DepsTracker::State DocumentSourceUnwind::getDependencies(DepsTracker* deps) const {
deps->fields.insert(_unwindPath.fullPath());
- return SEE_NEXT;
+ return DepsTracker::State::SEE_NEXT;
}
intrusive_ptr<DocumentSource> DocumentSourceUnwind::createFromBson(