From 8427b4eb0180862bd4530fdd46b76ef933ae4087 Mon Sep 17 00:00:00 2001 From: "U-tellus\\cwestin" Date: Tue, 10 Jan 2012 14:28:56 -0800 Subject: fixed emacs to remove tabs from files before writing; removed tabs --- src/mongo/db/pipeline/accumulator_min_max.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/mongo/db/pipeline/accumulator_min_max.cpp') diff --git a/src/mongo/db/pipeline/accumulator_min_max.cpp b/src/mongo/db/pipeline/accumulator_min_max.cpp index 6f078187b44..ce0151847d4 100755 --- a/src/mongo/db/pipeline/accumulator_min_max.cpp +++ b/src/mongo/db/pipeline/accumulator_min_max.cpp @@ -24,7 +24,7 @@ namespace mongo { intrusive_ptr AccumulatorMinMax::evaluate( const intrusive_ptr &pDocument) const { assert(vpOperand.size() == 1); - intrusive_ptr prhs(vpOperand[0]->evaluate(pDocument)); + intrusive_ptr prhs(vpOperand[0]->evaluate(pDocument)); /* if this is the first value, just use it */ if (!pValue.get()) @@ -40,28 +40,28 @@ namespace mongo { } AccumulatorMinMax::AccumulatorMinMax(int theSense): - AccumulatorSingleValue(), + AccumulatorSingleValue(), sense(theSense) { assert((sense == 1) || (sense == -1)); } intrusive_ptr AccumulatorMinMax::createMin( - const intrusive_ptr &pCtx) { - intrusive_ptr pAccumulator( - new AccumulatorMinMax(1)); + const intrusive_ptr &pCtx) { + intrusive_ptr pAccumulator( + new AccumulatorMinMax(1)); return pAccumulator; } intrusive_ptr AccumulatorMinMax::createMax( - const intrusive_ptr &pCtx) { - intrusive_ptr pAccumulator( - new AccumulatorMinMax(-1)); + const intrusive_ptr &pCtx) { + intrusive_ptr pAccumulator( + new AccumulatorMinMax(-1)); return pAccumulator; } const char *AccumulatorMinMax::getOpName() const { - if (sense == 1) - return "$min"; - return "$max"; + if (sense == 1) + return "$min"; + return "$max"; } } -- cgit v1.2.1