summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document_source.cpp
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2013-10-16 13:16:27 -0400
committerMathias Stearn <mathias@10gen.com>2013-10-21 13:49:34 -0400
commitebe18abffda4d3aad1c4ee9a170a63e1d570de3b (patch)
tree7fcf1364739782da7069ee362c7309908260f244 /src/mongo/db/pipeline/document_source.cpp
parenteb9b6deb0ed04a602420990ab621814eadd5ba54 (diff)
downloadmongo-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.cpp11
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]";