diff options
Diffstat (limited to 'src/mongo/db/pipeline/accumulator_merge_objects.cpp')
-rw-r--r-- | src/mongo/db/pipeline/accumulator_merge_objects.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mongo/db/pipeline/accumulator_merge_objects.cpp b/src/mongo/db/pipeline/accumulator_merge_objects.cpp index 6b23ae528a1..5eb03eed74b 100644 --- a/src/mongo/db/pipeline/accumulator_merge_objects.cpp +++ b/src/mongo/db/pipeline/accumulator_merge_objects.cpp @@ -49,13 +49,11 @@ const char* AccumulatorMergeObjects::getOpName() const { return "$mergeObjects"; } -intrusive_ptr<AccumulatorState> AccumulatorMergeObjects::create( - const boost::intrusive_ptr<ExpressionContext>& expCtx) { +intrusive_ptr<AccumulatorState> AccumulatorMergeObjects::create(ExpressionContext* const expCtx) { return new AccumulatorMergeObjects(expCtx); } -AccumulatorMergeObjects::AccumulatorMergeObjects( - const boost::intrusive_ptr<ExpressionContext>& expCtx) +AccumulatorMergeObjects::AccumulatorMergeObjects(ExpressionContext* const expCtx) : AccumulatorState(expCtx) { _memUsageBytes = sizeof(*this); } |