diff options
author | Mathias Stearn <mathias@10gen.com> | 2013-10-16 13:16:27 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2013-10-21 13:49:34 -0400 |
commit | ebe18abffda4d3aad1c4ee9a170a63e1d570de3b (patch) | |
tree | 7fcf1364739782da7069ee362c7309908260f244 /src/mongo/db/pipeline/document_source.cpp | |
parent | eb9b6deb0ed04a602420990ab621814eadd5ba54 (diff) | |
download | mongo-ebe18abffda4d3aad1c4ee9a170a63e1d570de3b.tar.gz |
Remove unused step and nRowsOut members from DocumentSource
Diffstat (limited to 'src/mongo/db/pipeline/document_source.cpp')
-rw-r--r-- | src/mongo/db/pipeline/document_source.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/mongo/db/pipeline/document_source.cpp b/src/mongo/db/pipeline/document_source.cpp index a6a3b65bda3..148bf4134d2 100644 --- a/src/mongo/db/pipeline/document_source.cpp +++ b/src/mongo/db/pipeline/document_source.cpp @@ -34,13 +34,10 @@ namespace mongo { - DocumentSource::DocumentSource( - const intrusive_ptr<ExpressionContext> &pCtx): - pSource(NULL), - step(-1), - pExpCtx(pCtx), - nRowsOut(0) { - } + DocumentSource::DocumentSource(const intrusive_ptr<ExpressionContext> &pCtx) + : pSource(NULL) + , pExpCtx(pCtx) + {} const char *DocumentSource::getSourceName() const { static const char unknown[] = "[UNKNOWN]"; |